dm_time_create Function

public pure elemental function dm_time_create(year, month, day, hour, minute, second, usecond, zone) result(str)

Returns 32-characters long time stamp string in ISO 8601/RFC 3339 of the form 1970-01-01T00:00:00.000000+00:00. Optional argument zone sets the time zone and has to be of the form [+|-]hh:mm, for example, +00:00 or -01:00.

Arguments

Type IntentOptional Attributes Name
integer, intent(in), optional :: year

Year (YYYY).

integer, intent(in), optional :: month

Month (MM).

integer, intent(in), optional :: day

Day of month (DD).

integer, intent(in), optional :: hour

Hour (hh).

integer, intent(in), optional :: minute

Minute (mm).

integer, intent(in), optional :: second

Second (ss).

integer, intent(in), optional :: usecond

Microsecond (ffffff).

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

Timezone ([+|-]hh:mm).

Return Value character(len=time_len)