Functions.MDY Method (DateTime)
Returns a character expression in day-month-year format (for example, 31 May 1998) from a Date or DateTime expression. The month name isn't abbreviated.
XSharp.VFP (in XSharp.VFP.dll) Version: 2.18
Syntax Request Example
tExpression AS DateTime
) AS STRING
public static string MDY(
- Type: DateTime
Specifies the DateTime expression from which DMY( ) returns a character string in day-month-year format.
If Set CENTURY is OFF, DMY( ) returns a character string in a dd-Month-yy format (for example, 16 February 98).
If Set CENTURY is ON, the format is dd-Month-yyyy (for example, 16 February 1998).
2Set CENTURY OFF
3? DMY(DATE( ))
4Set CENTURY ON
5? DMY(DATE( ))