www.buildautomator.com  Build Automator Documentation

Time formats

Previous  Top  Next  


Time

Syntax: @Tn[s][B]

All time formats start with @T or @t 

The n determines the time format and ranges from 1 to 8. 

The s is an optional separation character between hour, minutes and seconds.  It is colon (:) by default.  Valid characters for s are:

. (period) produces periods.

` (grave accent - ASCII 96) produces commas.

- (hyphen) produces hyphens.

_ (underscore) produces spaces.

The trailing B will produce a Blank string if the time is empty instead of something like "  :  :  " for @t4 for example.

 

Token

Format

Results

@T1

hh:mm

17:30

@T2

hhmm

1730

@T3

hh:mmXM

5:30PM

@T03

hh:mmXM

05:30PM

@T4

hh:mm:ss

17:30:00

@T5

hhmmss

173000

@T6

hh:mm:ssXM

5:30:00PM

@T7

 

Standard Short Time

@T8

 

Standard Long Time


 

 

 

Alternate separators

 

@T1.

hh.mm

Period separator

@T1-

hh-mm

Dash separator

@T3_

hh mmXM

Underscore produces space separator

@T4`

hh,mm,ss

Grave accent produces comma separator

 



Direct link to this page: http://www.buildautomator.com/onlinemanual/time_formats.htm