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 integer value into an instant in time.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function Int64ToDateTimeAsSecondsExceptNull ( _
context As WorkflowContext, _
val As Object _
) As DateTime
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As DateTime
returnValue = Helper.Int64ToDateTimeAsSecondsExceptNull(context, _
val)
public static DateTime Int64ToDateTimeAsSecondsExceptNull(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectThe number of the seconds since midnight 1/1/1900.
Return Value
Type: System.DateTime
The instant in time represented by the number of the seconds in val since midnight 1/1/1900.
Remarks
This method throws a CoercionException exception if val is null , not an Int64 object, or the converted value is less than MinValue or greater than MaxValue.