Compartir a través de


Time Literals ("M" Reference)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Time literals are used to write the time of day. The type of a time literal is Time.

Literal Format

Time literals take the following format.

TimeLiteral:
TimeHourMinute  :  TimeSecond  
TimeHourMinute:
TimeHour  :  TimeMinute
TimeHour: one of
00  01  02  03  04  05  06  07  08  09  10  11
12  13  14  15  16  17  18  19  20  21  22  23
TimeMinute:
0  DecimalDigit
1  DecimalDigit
2  DecimalDigit
3  DecimalDigit
4  DecimalDigit
5  DecimalDigit
TimeSecond:
0  DecimalDigit  TimeSecondDecimalPart(optional)
1  DecimalDigit  TimeSecondDecimalPart(optional)
2  DecimalDigit  TimeSecondDecimalPart(optional)
3  DecimalDigit  TimeSecondDecimalPart(optional)
4  DecimalDigit  TimeSecondDecimalPart(optional)
5  DecimalDigit  TimeSecondDecimalPart(optional)
60  TimeSecondDecimalPart(optional)
TimeSecondDecimalPart:
.  DecimalDigits

See Also

Other Resources

"M" Literals ("M" Reference)