共用方式為


DateOptions.Today Property

Gets the current date.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)> _
Public ReadOnly Property Today As SimpleDate
    Get
'Usage
Dim instance As DateOptions
Dim value As SimpleDate

value = instance.Today
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)]
public SimpleDate Today { get; }

Property Value

Type: Microsoft.SharePoint.Utilities.SimpleDate
A SimpleDate value that indicates the current date.

See Also

Reference

DateOptions Class

DateOptions Members

Microsoft.SharePoint.Utilities Namespace