Gentee Programming Language > Documentation > Libraries Download documentation

getdateformat

Get date in the specified format.
 
str getdateformat(
      datetime   systime,
      str   format,
      str   date
)

Parameters

systimeThe variable containing date.
formatDate format. It can contain the following values:
ddDay as a number.
dddWeekday as an abbriviation.
ddddThe full name of a weekday.
MMMonth as a number.
MMMMonth as an abbreviation.
MMMMThe full name of a month.
yyThe last tow digits in a year.
yyyyYear.
dateThe string for getting the date.

Return value

The function returns the parameter date.

See also

    Function for working with time


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