# SET CENTURY

Toggle the century digits in all dates display

Syntax

  SET CENTURY on | OFF | (<lCent>)

Arguments

  <lCent> Logical expression for toggle

Description

  This command allows the input and display of dates with the century prefix.It will be in the standart MM/DD/YYYY format unless specified by the SET DATE command or SET() function.If <lCent> is a logical true (.T.),the command will be set on;otherwise, the command will be set off

Examples

          SET CENTURY ON
          ? DATE()
          SET CENTURY OFF

Status

  Ready

Compliance

  This command is Ca-Clipper compliant

See Also

- SET DATE
- SET EPOCH
- CTOD()
- DATE()
- DTOC()
- SET()