🚧
CustomHud v4 Docs are WIP
For temporary documentation on all the features added in v4, see the changelog
🚧

Real-Time Variable

Syntax: {real_time:<time_format>}

<time_format> is made up of the symbols below. Non A-Z letters like spaces,  :. ,  and ,  passes through to the output. If you want to write text between the symbols below, surround the text with ' s. If you want to display an actual '  write ''.

BUG: In v3.0 - v3.2, spaces aren't allowed. To get arround this use multiple {real_time:}s. This was fixed in v3.3

Symbols

Examples Underneath

Time

Letter Unit Display
Double letters ensures it's always 2 numbers wide
H / HH Hour 0-23
h / hh Hour 1-12
k / kk Hour 1-24
K / KK Hour 0-11
m / mm Minute 0-59
s / ss Second 0-59
S / SSS Millisecond 0-999
a AM / PM AM, PM
z Timezone Abbreviated Name
zzzz Timezone Full Name

Date

Letter Unit Display
MMMM Month Full Name
MMM Month Abbreviated Name
M / MM Month 1-12
d Day in month 0-31
yyyy Year 4 digits
yy Year Last 2 digits
EEEE Day of the week Full Name
E / EE Day of the week Abbreviated Name
u Day of the week 1-7

Misc

Letter Description
G Era (BC / AD)
w Week in year
W Week in month
D Day in year
F Day of week in month
(2nd wednesdays: 2)

Examples

Profile File

profile1.txt
24h Time w/ Secs: {real_time:H:m:s}
12h Time w/ Secs: {real_time:h:m:s a}
24h Time w/ TimeZone: {real_time:H:m z}
With Words: {real_time:h 'o''clock', m 'minutes'}

American Date: {real_time:E, MMM d, yyyy}
Non-American Number Date: {real_time:d M yyyy}

Result In-Game