DT_GetDateCentury

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Obsolete > DT (Date Handling) >

DT_GetDateCentury

 

This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.

 

Description

 

The DT_GetDateCentury() function returns the active century.

 

Syntax

 

 DT_GetDateCentury() 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_SetDateCentury

   

 

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