GetDateTotalMilliseconds

Interface Function

Convert time to time stamp

Request Parameter
Parameter Required Type Remarks
dt true DateTime If dt is not transmitted, the timestamp of the current time is returned.

[warning] Warning

Automatically convert 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);
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2022-08-16 10:55:23

results matching ""

    No results matching ""