unixtime
Type | 32-bit unsigned integer |
---|---|
DHCP option number | not applicable |
ISC dhcpd syntax | not applicable |
iPXE> show unixtime builtin/unixtime:uint32 = 0x5889ed58
Shows the current time (measured in seconds since the Unix Epoch, i.e. since January 1 1970 00:00:00).
You can convert the time into a human-readable format using the Linux date
command. For example:
date --date=@$((0x5889ed58))
The time zone is the time zone as used by the machine's CMOS clock. This will often (but not always) be UTC. If you need a time in a known time zone, then you can use the ntp
command to obtain the current UTC time.