s_dateTableFormat
global · ui
- Address
0x872c44· 3 bytes, up to0x872c46- Type
char[3]- Meaning
- Holds the string "*t", the date format that answers a table
- Confidence
- verified, proof two
- Finding
- ui/luabase#date
Finding: Date in ui: the Lua base library
date([format [, time]]) takes %c and −1 as defaults, uses the current C time for −1, and breaks the time down as UTC when
the format starts with !, local otherwise. The format *t answers a table of sec, min, hour, day, month (+1),
year (+1900), wday (+1), yday (+1) and isdst; any other format goes to strftime with a 256-byte buffer, and a 0
result raises `date' format too long. An empty result is also 0, so date("") raises it too.
The derivation is in the doc.