fbpx
Select Page

Convert a Unix-style timestamp (seconds since January 1, 1970) to a Date.

Usage

DateFromUnix(<number>)

number (required) A column of numbers that indicates the Unix-style time stamp.

NOTE: When given a number, the Date function behaves the same as DateFromUnix.

Examples

DateFromUnix(0)
  • Returns 1970-01-01 00:00:00
DateFromUnix(1503724894)
  • Returns 2017-08-26 05:21:34

See Also

Date

More About Date Functions

Date functions are useful for analyzing date input and extracting individual time components, like year or minute, from date objects.

We are rewriting the rules of analytics. Sigma empowers domain experts to join the data conversation, answer the toughest questions, and drive insights.