DT_SetDateSeparator
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Obsolete > DT (Date Handling) > DT_SetDateSeparator |
This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.
Description
The DT_SetDateSeparator() function sets a the date separator character ('-' for example).
Syntax
DT_SetDateSeparator(sSeparator AS STRING) AS STRING
Returns
Returns AS STRING
The new date separator.
Parameters
sSeparator AS STRING
The date separator.
Remarks
Restrictions
See also
DT_GetDateSeparator
Examples
IF DT_GetDateSeparator() <> "/" THEN
MSGBOX 0, "Set the date separator to: " & DT_SetDateSeparator("/")
' results: "Set the date separator to: /"
END IF