Functions.FromUtcTimestamp 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
FromUtcTimestamp(Column, Column) |
Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in UTC, and renders that time as a timestamp in the given time zone. For example, 'GMT+1' would yield '2017-07-14 03:40:00.0'. |
FromUtcTimestamp(Column, String) |
Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in UTC, and renders that time as a timestamp in the given time zone. For example, 'GMT+1' would yield '2017-07-14 03:40:00.0'. |
FromUtcTimestamp(Column, Column)
Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in UTC, and renders that time as a timestamp in the given time zone. For example, 'GMT+1' would yield '2017-07-14 03:40:00.0'.
[Microsoft.Spark.Deprecated("3.0.0")]
[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column FromUtcTimestamp (Microsoft.Spark.Sql.Column column, Microsoft.Spark.Sql.Column tz);
[<Microsoft.Spark.Deprecated("3.0.0")>]
[<Microsoft.Spark.Since("2.4.0")>]
static member FromUtcTimestamp : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function FromUtcTimestamp (column As Column, tz As Column) As Column
Parameters
- column
- Column
Column to apply
- tz
- Column
Timezone expression
Returns
Column object
- Attributes
Remarks
This API is deprecated in Spark 3.0.
Applies to
FromUtcTimestamp(Column, String)
Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in UTC, and renders that time as a timestamp in the given time zone. For example, 'GMT+1' would yield '2017-07-14 03:40:00.0'.
[Microsoft.Spark.Deprecated("3.0.0")]
public static Microsoft.Spark.Sql.Column FromUtcTimestamp (Microsoft.Spark.Sql.Column column, string tz);
[<Microsoft.Spark.Deprecated("3.0.0")>]
static member FromUtcTimestamp : Microsoft.Spark.Sql.Column * string -> Microsoft.Spark.Sql.Column
Public Shared Function FromUtcTimestamp (column As Column, tz As String) As Column
Parameters
- column
- Column
Column to apply
- tz
- String
Timezone string
Returns
Column object
- Attributes
Remarks
This API is deprecated in Spark 3.0.