daft.functions.date_from_unix_date#
date_from_unix_date #
date_from_unix_date(expr: Expression) -> Expression
Converts days since Unix epoch (1970-01-01) to a date.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
expr | Expression | An integer expression representing days since epoch. | required |
Returns:
| Name | Type | Description |
|---|---|---|
Expression | Expression | a Date expression. |
Examples:
1 2 3 4 5 | |
True Source code in daft/functions/datetime.py
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 | |