Go to the source code of this file.
Functions/Subroutines | |
| subroutine | dccaldatecurrent1 (date, err) |
| 現在日時の取得 | |
| subroutine dccaldatecurrent1 | ( | type(dc_cal_date), intent(out) | date, |
| logical, intent(out), optional | err ) |
現在日時の取得
このファイルに記載される手続き群は dc_calendar モジュールから提供されます.
実時間の現在日時を取得
実時間を dc_calendar_types#DC_CAL_DATE 型の date に返します. 実時間は Fortran 90 以降の組み込みサブルーチンである date_and_time から得られます.
| [out] | date | 実時間の日時情報を収めたオブジェクト. |
| [out] | err | 例外処理用フラグ. デフォルトでは, この手続き内でエラーが生じた場合, プログラムは強制終了します. 引数 err が与えられる場合, プログラムは強制終了せず, 代わりに err に .true. が代入されます. |
Definition at line 51 of file dccaldatecurrent.f90.
References dc_trace::beginsub(), dc_error::dc_ebaddate, dc_error::dc_noerr, dc_types::dp, dc_trace::endsub(), dc_error::storeerror(), dc_types::string, and dc_types::token.