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 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
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextThe workflow context that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectThe date and time to be converted.
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).