共用方式為


Timestamp 建構函式

定義

多載

Timestamp(DateTime)

Timestamp 類別的建構函式。

Timestamp(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Timestamp 類別的建構函式,defaut 時區是國際標準時間 (UTC) 。

Timestamp(DateTime)

Timestamp 類別的建構函式。

public Timestamp (DateTime dateTime);
new Microsoft.Spark.Sql.Types.Timestamp : DateTime -> Microsoft.Spark.Sql.Types.Timestamp
Public Sub New (dateTime As DateTime)

參數

dateTime
DateTime

DateTime 物件

適用於

Timestamp(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Timestamp 類別的建構函式,defaut 時區是國際標準時間 (UTC) 。

public Timestamp (int year, int month, int day, int hour, int minute, int second, int microsecond);
new Microsoft.Spark.Sql.Types.Timestamp : int * int * int * int * int * int * int -> Microsoft.Spark.Sql.Types.Timestamp
Public Sub New (year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer, microsecond As Integer)

參數

year
Int32

年 (1 到 9999)

month
Int32

月份 (1 到 12)

day
Int32

日期 (1 到月份中的天數)

hour
Int32

小時 (0 到 23)

minute
Int32

分鐘 (0 到 59)

second
Int32

第二個 (0 到 59)

microsecond
Int32

0 到 999999) 的微秒 (

適用於