DATELIB Function
Return a string representation of the current date.
LocalDate(TYPE_IV)
TYPE_IV
Either WINDate or DOSDate. If you specify WINDate, the string returned is formatted according to the format specified in the Control Panel's Regional and Language Options. If you specify DOSDate, the string returned represents a date formatted in the mm/dd/yy format.
Description
Use this function to return a string representation of the current date using the preferred local date format. The exact result of this function will depend upon the country in which a program is running and on user preferences.
If an error is encountered, the returned string will be "ERROR".
Example
copy ( LocalDate(WINDate) ) to Date_String