Helper.DateTimeToDoubleAsSecondsExceptNull Method
Attempts to coerce a DateTime value into a Double object representing the seconds portion of the DateTime object.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function DateTimeToDoubleAsSecondsExceptNull ( _
context As WorkflowContext, _
val As Object _
) As Double
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As Double
returnValue = Helper.DateTimeToDoubleAsSecondsExceptNull(context, _
val)
public static double DateTimeToDoubleAsSecondsExceptNull(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectA Object
Return Value
Type: System.Double
The number of seconds since midnight 1/1/1900..