Gentee Programming Language > Documentation > Libraries Download documentation

gettimeformat

Get time in the specified format.
 
str gettimeformat(
      datetime   systime,
      str   format,
      str   time
)

Parameters

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

Return value

The function returns the parameter time.

See also

    Function for working with time


 Copyright © 2004-2006 Gentee Inc. All rights reserved.