SET HOURS

From Lianjapedia
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, 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