DMY(1,2)
PURPOSE
This function returns a date value in the form of Day Month Year.
PARTS
1 f/c/e | Required - Date value to use. |
2 f/c/e | If set to 'S' only the first three characters of the month value are used (e.g., Jan = January) and only the last two digits of the year. If set to 'L' (long) then the full month name and the full year are used. 'S' is the default value. |
RETURN TYPE - A
The size of the string returned depends on the month.
SEE ALSO
MDY()
EXAMPLE
define x type A size 20
x = DMY(date(),'s')
// x would contain a value similar to: '30 Sep 00'
x = DMY(date(),'l')
// x would contain a value similar to: '30 September 2000'
SEE ALSO
DATE() Convert to Date CTOD() Convert to time CTOT() TIME GET SET Convert time to record TTOR() Covert time to number TTOF() Convert time to string TTOC()
TIME() YEAR() Date Command Date to Record DTOR() Convert date to Character DTOC() Days in month DAY_IN_MONTH
Increment the Month INC_MONTH DayMonthyear DMY() Month Day Year MDY()
Charicter of month CMNTH() Charicter to day of week CDOW()