Functions.FromUnixTime Method

Definition

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

Applies to