SET HOURS

From Recital Documentation Wiki
Jump to: navigation, search

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, SET VAXTIME, STOD(), STR(), TIME(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), TYPE(), VAL(), VALIDTIME(), VTOD(), YEAR()


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.


Example

set hours to 24


Products

Recital