Partilhar via


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

Return Value

Type: System.Double
The number of seconds since midnight 1/1/1900..

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace