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 time instance value to a long date value.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function DateTimeToStringLongDate ( _
context As WorkflowContext, _
val As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As String
returnValue = Helper.DateTimeToStringLongDate(context, _
val)
public static string DateTimeToStringLongDate(
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 date and time to be converted.
Return Value
Type: System.String
A local long date value that is converted based on the val.
Remarks
This method throws a CoercionException exception if val is null or not a DateTime object.
This method converts the specified time instance to a LongDatePattern.