GetDateTotalMilliseconds

Interface Function

Convert time to time stamp.

Request Parameter
Parameter Required Type Remarks
dt true DateTime Return the time stamp of current time if dt is not passed.

[warning] Warning

Automatically convert the time to UTC time.

Return Data Type

double

Return Sample

1548233491236

Code example
//
var dt=DateTime.Now;
var result=Service.GetDateTotalMilliseconds(dt);
Service.ConsoleLog("GetDateTotalMilliseconds result",result);

return Return;
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:10

results matching ""

    No results matching ""