Partilhar via


Helper.DateTimeToStringISO Method

Converts the specified instant in time to its equivalent string representation using the ISO 8601 format (yyyy-mm-ddThh:mm:ssZ).

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

Syntax

'Declaration
Public Shared Function DateTimeToStringISO ( _
    context As WorkflowContext, _
    val As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As String

returnValue = Helper.DateTimeToStringISO(context, _
    val)
public static string DateTimeToStringISO(
    WorkflowContext context,
    Object val
)

Parameters

Return Value

Type: System.String
The date and time in ISO 8601 format.

Remarks

This method converts the specified Datetime value to its equivalent string representation using the ISO 8601 format (yyyy-mm-ddThh:mm:ssZ).

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace