====== Seconds since the Epoch ====== ===== Name ===== unixtime ===== Details ===== ^ Type | [[:cfgtype:uint32|32-bit unsigned integer]] | ^ DHCP option number | not applicable | ^ ISC dhcpd syntax | not applicable | ===== Examples ===== === Display the current time === iPXE> show unixtime builtin/unixtime:uint32 = 0x5889ed58 ===== Description ===== Shows the current time (measured in seconds since the Unix Epoch, i.e. since January 1 1970 00:00:00). ===== See also ===== * ''[[:cmd:ntp]]'' * [[:cfg|List of all iPXE settings]] ===== Notes ===== 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 ''[[:cmd:ntp]]'' command to obtain the current UTC time.