Difference between revisions of "SET HOURS"

From Lianjapedia
Jump to: navigation, search
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Change time display to 12 or 24 hours
 
Change time display to 12 or 24 hours
 
  
 
==Syntax==
 
==Syntax==
 
SET HOURS TO [12 | 24]
 
SET HOURS TO [12 | 24]
 
  
 
==See Also==
 
==See Also==
[[AMPM()]], [[CDOW()]], [[CMONTH()]], [[CTOD()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[DAY()]], [[DAYS()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOM()]], [[DTOS()]], [[DTOV()]], [[ELAPTIME()]], [[EMPTY()]], [[EPOCH()]], [[GOMONTH()]], [[HOUR()]], [[HOURS()]], [[LTOS()]], [[MDY()]], [[MINUTE()]], [[MINUTES()]], [[MONTH()]], [[MTOD()]], [[MTOS()]], [[QUARTER()]], [[SEC()]], [[SECONDS()]], [[SECS()]], [[SET CENTURY]], [[SET DATE]], [[SET EPOCH]], [[SET MARK]], [[SET SECONDS]], [[SET VAXTIME]], [[STOD()]], [[STR()]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[TYPE()]], [[VAL()]], [[VALIDTIME()]], [[VTOD()]], [[YEAR()]]  
+
[[AMPM()]], [[CDOW()]], [[CMONTH()]], [[CTOD()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[DAY()]], [[DAYS()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOM()]], [[DTOS()]], [[DTOV()]], [[ELAPTIME()]], [[EMPTY()]], [[EPOCH()]], [[GOMONTH()]], [[HOUR()]], [[HOURS()]], [[LTOS()]], [[MDY()]], [[MINUTE()]], [[MINUTES()]], [[MONTH()]], [[MTOD()]], [[MTOS()]], [[QUARTER()]], [[SEC()]], [[SECONDS()]], [[SECS()]], [[SET CENTURY]], [[SET DATE]], [[SET EPOCH]], [[SET MARK]], [[SET SECONDS]], [[STOD()]], [[STR()]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[TYPE()]], [[VAL()]], [[VALIDTIME()]], [[VTOD()]], [[YEAR()]]  
 
+
  
 
==Description==
 
==Description==
The SET HOURS TO command changes the system clock to a 12 hour or a 24 hour display.  If the optional qualifier 12 | 24 is not specified, then the clock is set to the default.  The default setting is 12 hours.  This command also affects the display of datetime values, determining whether hours are shown in 24 hour format or in 12 hour format with AM | PM postfix.
+
The SET HOURS TO command changes the display of datetime values, determining whether hours are shown in 24 hour format or in 12 hour format with AM | PM postfix. If the optional qualifier 12 | 24 is not specified, then the default setting of 12 hours is used.
 
+
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
set hours to 24</code>
+
set hours to 24
 
+
</code>
  
==Products==
 
Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|HOURS]]
 
[[Category:Set_Commands|HOURS]]
[[Category:Terminal Environment]]
 
[[Category:Terminal Environment Set Commands]]
 
[[Category:Date and Time Data]]
 
[[Category:Date and Time Data Set Commands]]
 

Latest revision as of 10:15, 4 February 2013

Purpose

Change time display to 12 or 24 hours

Syntax

SET HOURS TO [12 | 24]

See Also

AMPM(), CDOW(), CMONTH(), CTOD(), CTOT(), DATE(), DATETIME(), DAY(), DAYS(), DMY(), DOW(), DTOC(), DTOM(), DTOS(), DTOV(), ELAPTIME(), EMPTY(), EPOCH(), GOMONTH(), HOUR(), HOURS(), LTOS(), MDY(), MINUTE(), MINUTES(), MONTH(), MTOD(), MTOS(), QUARTER(), SEC(), SECONDS(), SECS(), SET CENTURY, SET DATE, SET EPOCH, SET MARK, SET SECONDS, STOD(), STR(), TIME(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), TYPE(), VAL(), VALIDTIME(), VTOD(), YEAR()

Description

The SET HOURS TO command changes the display of datetime values, determining whether hours are shown in 24 hour format or in 12 hour format with AM | PM postfix. If the optional qualifier 12 | 24 is not specified, then the default setting of 12 hours is used.

Example

set hours to 24