Export (0) Print
Expand All
Expand Minimize

SPUtility.ConvertDateTimeToJavaScriptTimeStamp method

SharePoint 2013

Convert DateTime to JvaScript time stamp (milliseconds since midnight Jan 1, 1970 UTC)

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static long ConvertDateTimeToJavaScriptTimeStamp(
	DateTime dt
)

Parameters

dt
Type: System.DateTime

Return value

Type: System.Int64
Show:
© 2014 Microsoft