Returns the date as a string in Month DD, YY or Month DD, YYYY
MDY( [<dDate>] ) -> cDateString
<dDate> Designates the date from which to create a string. The default is the system date.
Returns the date as a string in Month DD, YY or Month DD, YYYY If dDate is NULL, the system date is used MDY() returns the date in a character string that contains the day, name of month, and year. Harbour SET CENTURY ON/OFF switch determines whether or not the year is displayed in 2 or 4 digits. If the function is called without a parameter, it automatically uses the current system date.
. The returned month name always depends on which Harbour nations module is in use. A German or French version of Harbour returns the appropriate month names, despite its characteristically American display.
? "Today :", DATE(), MDY() dDate := CTOD("02/01/89") ? dDate, MDY( dDate )
MDY() is compatible with CT3’s MDY().
Source is dattime2.prg, library is libct.