Functions.FromUnixTime Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromUnixTime(Column) |
Converts the number of seconds from UNIX epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone with a default format "yyyy-MM-dd HH:mm:ss". |
FromUnixTime(Column, String) |
Converts the number of seconds from UNIX epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone with the given format. |
FromUnixTime(Column)
Converts the number of seconds from UNIX epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone with a default format "yyyy-MM-dd HH:mm:ss".
public static Microsoft.Spark.Sql.Column FromUnixTime(Microsoft.Spark.Sql.Column column);
static member FromUnixTime : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function FromUnixTime (column As Column) As Column
Parameters
- column
- Column
Column to apply
Returns
Column object
Applies to
FromUnixTime(Column, String)
Converts the number of seconds from UNIX epoch (1970-01-01 00:00:00 UTC) to a string representing the timestamp of that moment in the current system time zone with the given format.
public static Microsoft.Spark.Sql.Column FromUnixTime(Microsoft.Spark.Sql.Column column, string format);
static member FromUnixTime : Microsoft.Spark.Sql.Column * string -> Microsoft.Spark.Sql.Column
Public Shared Function FromUnixTime (column As Column, format As String) As Column
Parameters
- column
- Column
Column to apply
- format
- String
Format of the timestamp
Returns
Column object