Go to the source code of this file.
Functions/Subroutines | |
| subroutine | dccaldatecurrent1 (date, err) |
| Get current date and time. | |
| subroutine dccaldatecurrent1 | ( | type(dc_cal_date), intent(out) | date, |
| logical, intent(out), optional | err ) |
Get current date and time.
Procedures described in this file are provided from "dc_calendar" module.
Get current actual time
Return actual time date (type "dc_calendar_types#DC_CAL_DATE"). The actual time is acquired by "date_and_time" that is a built-in subroutine of Fortran 90 or more.
| [out] | date | An object that stores information of date and time of actual time. |
| [out] | err | Exception handling flag. By default, when error occur in this procedure, the program aborts. If this err argument is given, .true. is substituted to err and the program does not abort. |
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.