dm_time_strings Subroutine

public subroutine dm_time_strings(year, month, day, hour, minute, second, usecond, zone_hour, zone_minute, zone)

Uses

    • unix
  • proc~~dm_time_strings~~UsesGraph proc~dm_time_strings dm_time_strings unix unix proc~dm_time_strings->unix

Returns current date and time values as strings in given dummy arguments.

Arguments

Type IntentOptional Attributes Name
character(len=4), intent(out), optional :: year

Current year (YYYY).

character(len=2), intent(out), optional :: month

Current month (MM).

character(len=2), intent(out), optional :: day

Current day of month (DD).

character(len=2), intent(out), optional :: hour

Current hour (hh).

character(len=2), intent(out), optional :: minute

Current minute (mm).

character(len=2), intent(out), optional :: second

Current second (ss).

character(len=6), intent(out), optional :: usecond

Current usecond (ffffff).

character(len=3), intent(out), optional :: zone_hour

Current time zone ([+|-]hh).

character(len=2), intent(out), optional :: zone_minute

Current time zone (mm).

character(len=6), intent(out), optional :: zone

Current time zone ([+|-]hh:mm).


Calls

proc~~dm_time_strings~~CallsGraph proc~dm_time_strings dm_time_strings c_gettimeofday c_gettimeofday proc~dm_time_strings->c_gettimeofday c_localtime_r c_localtime_r proc~dm_time_strings->c_localtime_r