Share via


Helper.CurrentDate Method (WorkflowContext, Guid, SPItemKey)

Retrieves the current date of a specified list item.

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

Syntax

'Declaration
Public Shared Function CurrentDate ( _
    context As WorkflowContext, _
    listId As Guid, _
    listItem As SPItemKey _
) As DateTime
'Usage
Dim context As WorkflowContext
Dim listId As Guid
Dim listItem As SPItemKey
Dim returnValue As DateTime

returnValue = Helper.CurrentDate(context, _
    listId, listItem)
public static DateTime CurrentDate(
    WorkflowContext context,
    Guid listId,
    SPItemKey listItem
)

Parameters

  • listId
    Type: System.Guid

    A string value representing the GUID of the list. This value may also be the list display name.

Return Value

Type: System.DateTime
The instant in time.

See Also

Reference

Helper Class

Helper Members

CurrentDate Overload

Microsoft.SharePoint.WorkflowActions Namespace