Dates and Times in C# and How to Use Them
ThetrickistoconverttheDateTimeintoaDateTimeOffset,andconvertitfromtheretotheUNIXtimestampnumber.,ToconvertDateTimeObjectintoUnixTimestampinseconds,wefirstneedtoconverttheDateTimeintoaDateTimeOffsetobject.Thenwecanuse ...,取得這個執行個體所表示日...。參考影片的文章的如下: