EnglishРусский  
 Share/Save/Bookmark
 

gettimeformat

Get time in the specified format.

func str gettimeformat (
   datetime systime,
   str format,
   str time
)

Parameters

systime The variable containing time.
format Time format. It can contain the following values:
hhHours - 12-hour format.
HHHours -24-hour format.
mmMinutes.
ssSeconds.
ttTime marker, such as AM or PM.
time The string for getting time.

Return value

Returns the parameter time.

Related links

Source

Edit