DT_SetDateCentury
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Obsolete > DT (Date Handling) > DT_SetDateCentury |
This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.
Description
The DT_SetDateCentury() function sets the active century.
Syntax
DT_SetDateCentury() AS STRING
Returns
Returns AS STRING
The active date century.
Parameters
Remarks
The century is a two characters string (for example “20” for year 2000).
Restrictions
See also
DT_GetDateCentury
Examples
IF DT_GetDateCentury() <> "19" THEN
MSGBOX 0, "Set the date century to: " & DT_SetDateCentury("19")
' results: "Set the date century to: 19"
END IF