Difference between revisions of "SET CENTURY"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Enable century in dates
 
Enable century in dates
 
  
 
==Syntax==
 
==Syntax==
 
SET CENTURY ON | OFF | (<expL>)
 
SET CENTURY ON | OFF | (<expL>)
 
  
 
==See Also==
 
==See Also==
 
[[CDOW()]], [[CMONTH()]], [[CTOD()]], [[DATE()]], [[DATETIME()]], [[DAY()]], [[DAYS()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOM()]], [[DTOS()]], [[DTOV()]], [[EPOCH()]], [[GOMONTH()]], [[MDY()]], [[MONTH()]], [[MTOD()]], [[QUARTER()]], [[SET DATE]], [[SET EPOCH]], [[SET MARK]], [[SET SECONDS]], [[STOD()]], [[VTOD()]], [[YEAR()]]
 
[[CDOW()]], [[CMONTH()]], [[CTOD()]], [[DATE()]], [[DATETIME()]], [[DAY()]], [[DAYS()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOM()]], [[DTOS()]], [[DTOV()]], [[EPOCH()]], [[GOMONTH()]], [[MDY()]], [[MONTH()]], [[MTOD()]], [[QUARTER()]], [[SET DATE]], [[SET EPOCH]], [[SET MARK]], [[SET SECONDS]], [[STOD()]], [[VTOD()]], [[YEAR()]]
 
  
 
==Description==
 
==Description==
 
If SET CENTURY is ON, then dates are displayed, and can be input with the century prefix specified.  If CENTURY is OFF then the year part of dates is only two digits, and the 20th century is assumed.  By default, CENTURY is ON.
 
If SET CENTURY is ON, then dates are displayed, and can be input with the century prefix specified.  If CENTURY is OFF then the year part of dates is only two digits, and the 20th century is assumed.  By default, CENTURY is ON.
 
  
 
==Example==
 
==Example==
Line 20: Line 16:
 
use patrons index dates
 
use patrons index dates
 
list all for date = ctod("01/01/2003")</code>
 
list all for date = ctod("01/01/2003")</code>
 
  
 
==Products==
 
==Products==

Revision as of 11:44, 12 December 2012

Purpose

Enable century in dates

Syntax

SET CENTURY ON | OFF | (<expL>)

See Also

CDOW(), CMONTH(), CTOD(), DATE(), DATETIME(), DAY(), DAYS(), DMY(), DOW(), DTOC(), DTOM(), DTOS(), DTOV(), EPOCH(), GOMONTH(), MDY(), MONTH(), MTOD(), QUARTER(), SET DATE, SET EPOCH, SET MARK, SET SECONDS, STOD(), VTOD(), YEAR()

Description

If SET CENTURY is ON, then dates are displayed, and can be input with the century prefix specified. If CENTURY is OFF then the year part of dates is only two digits, and the 20th century is assumed. By default, CENTURY is ON.

Example

set century on
use patrons index dates
list all for date = ctod("01/01/2003")

Products

Lianja Server, Lianja