You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.with_description("Converts an integer to RFC3339 timestamp format (`YYYY-MM-DDT00:00:00.000000000Z`). Integers and unsigned integers are interpreted as nanoseconds since the unix epoch (`1970-01-01T00:00:00Z`) return the corresponding timestamp.")
Copy file name to clipboardExpand all lines: docs/source/user-guide/sql/scalar_functions.md
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2037,12 +2037,24 @@ _Alias of [date_trunc](#date_trunc)._
2037
2037
Converts an integer to RFC3339 timestamp format (`YYYY-MM-DDT00:00:00.000000000Z`). Integers and unsigned integers are interpreted as nanoseconds since the unix epoch (`1970-01-01T00:00:00Z`) return the corresponding timestamp.
2038
2038
2039
2039
```
2040
-
from_unixtime(expression)
2040
+
from_unixtime(expression[, timezone])
2041
2041
```
2042
2042
2043
2043
#### Arguments
2044
2044
2045
-
-**expression**: Expression to operate on. Can be a constant, column, or function, and any combination of arithmetic operators.
2045
+
-**expression**: The expression to operate on. Can be a constant, column, or function, and any combination of operators.
2046
+
-**timezone**: Optional timezone to use when converting the integer to a timestamp. If not provided, the default timezone is UTC.
0 commit comments