DataFlow.ConvertUnixTimestampToDateTime 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
| ConvertUnixTimestampToDateTime(ColumnsSelector, Boolean) |
Converts the specified column to DateTime values by treating the existing value as a Unix timestamp. |
| ConvertUnixTimestampToDateTime(String, Boolean) |
Converts the specified column to DateTime values by treating the existing value as a Unix timestamp. |
| ConvertUnixTimestampToDateTime(String[], Boolean) |
Converts the specified column to DateTime values by treating the existing value as a Unix timestamp. |
ConvertUnixTimestampToDateTime(ColumnsSelector, Boolean)
Converts the specified column to DateTime values by treating the existing value as a Unix timestamp.
public Microsoft.DataPrep.Common.DataFlow ConvertUnixTimestampToDateTime(Microsoft.DPrep.Engine.PropertiesSystem.ColumnsSelector columns, bool useSeconds = false);
member this.ConvertUnixTimestampToDateTime : Microsoft.DPrep.Engine.PropertiesSystem.ColumnsSelector * bool -> Microsoft.DataPrep.Common.DataFlow
Public Function ConvertUnixTimestampToDateTime (columns As ColumnsSelector, Optional useSeconds As Boolean = false) As DataFlow
Parameters
- columns
- Microsoft.DPrep.Engine.PropertiesSystem.ColumnsSelector
The source columns.
- useSeconds
- Boolean
Whether to use seconds as the resolution. Milliseconds are used if false.
Returns
Applies to
ConvertUnixTimestampToDateTime(String, Boolean)
Converts the specified column to DateTime values by treating the existing value as a Unix timestamp.
public Microsoft.DataPrep.Common.DataFlow ConvertUnixTimestampToDateTime(string columnName, bool useSeconds = false);
member this.ConvertUnixTimestampToDateTime : string * bool -> Microsoft.DataPrep.Common.DataFlow
Public Function ConvertUnixTimestampToDateTime (columnName As String, Optional useSeconds As Boolean = false) As DataFlow
Parameters
- columnName
- String
The source columns.
- useSeconds
- Boolean
Whether to use seconds as the resolution. Milliseconds are used if false.
Returns
Applies to
ConvertUnixTimestampToDateTime(String[], Boolean)
Converts the specified column to DateTime values by treating the existing value as a Unix timestamp.
public Microsoft.DataPrep.Common.DataFlow ConvertUnixTimestampToDateTime(string[] columnNames, bool useSeconds = false);
member this.ConvertUnixTimestampToDateTime : string[] * bool -> Microsoft.DataPrep.Common.DataFlow
Public Function ConvertUnixTimestampToDateTime (columnNames As String(), Optional useSeconds As Boolean = false) As DataFlow
Parameters
- columnNames
- String[]
The source columns.
- useSeconds
- Boolean
Whether to use seconds as the resolution. Milliseconds are used if false.