Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts an Int64 that corresponds to the value returned by a call to getTicks on a ECMAScript (JScript, JavaScript) Date to a value that, when used to construct a DateTime, will result in that object representing the same date and time as the ECMAScript Date.
Namespace: Microsoft.SharePoint.JsonUtilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function JsTicksToDateTicks ( _
jsTicks As Long _
) As Long
'Usage
Dim jsTicks As Long
Dim returnValue As Long
returnValue = JsonUtility.JsTicksToDateTicks(jsTicks)
public static long JsTicksToDateTicks(
long jsTicks
)
Parameters
jsTicks
Type: System.Int64The number of milliseconds in Coordinated Universal Time (UTC) since epoch, where epoch is defined as midnight January 1, 1970.
Return Value
Type: System.Int64
A Int64 indicating the number of ticks in C#.