インテル® Fortran コンパイラー 14.0 ユーザー・リファレンス・ガイド

CLOCK

Portability Function: Converts a system time into an 8-character ASCII string.

モジュール

USE IFPORT

result = CLOCK( )

結果

The result type is character with a length of 8. The result is the current time in the form hh:mm:ss, using a 24-hour clock.

USE IFPORT
character(8) whatimeisit
whatimeisit = CLOCK ()
print *, 'The current time is ',whatimeisit

関連情報


このヘルプトピックについてのフィードバックを送信