Wolfram Language

Units & Dates

Convert Unix Time

Get the current Unix time using the new function UnixTime.

In[1]:=
Click for copyable input
UnixTime[]
Out[1]=

Convert a Unix time stamp into an ISO-8601 time specification.

In[2]:=
Click for copyable input
DateString[FromUnixTime[915148799], {"ISODateTime", "ISOTimeZone"}]
Out[2]=

Visualize the time of day associated with a Unix time stamp.

show complete Wolfram Language input
In[3]:=
Click for copyable input
ClockGauge[FromUnixTime[1095344201], TimeZone -> 0, PlotTheme -> "Marketing"]
Out[3]=

Related Examples

de es fr ja ko pt-br ru zh