[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| MDY |
+---------------------------------+
MDY(<expD>)
-----------------------------------
Converts <expD> to Month DD YYYY format.
Return value - Character
-----------------------------------
If CENTURY is SET OFF, the resulting date expression has the format
Month DD, YY. If CENTURY is SET ON, the format is Month DD, YYYY.
+---------------------------------+
| Program Example |
+---------------------------------+
The example below is a UDF that converts standard date type variable
into character expression, complete with day of week string. The result
is line that is appropriate for printing in report.
*** LongDate ***
FUNCTION longdate
PARAMETERS mdate
RETURN CDOW(mdate) + ', '+MDY(mdate)
To use this UDF:
SET CENTURY OFF
? Longdate({08/16/89})
SET CENTURY ON
? Longdate({08/16/89})
-----------------------------------
See Also: DMY(), SET CENTURY, SET DATE
-----------------------------------
See Also:
DMY()
SET CENTURY
SET DATE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson