NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTime Properties

The properties of the DateTime structure are listed below. For a complete list of DateTime structure members, see the DateTime Members topic.

Public:

Date Retrieves the date of the instance with the time value set to midnight.
Day Retrieves the day of the month represented by this instance.
DayOfWeek Retrieves the day of the week represented by this instance.
DayOfYear Retrieves the day of the year represented by this instance.
Hour Retrieves the hour part represented by this instance.
Millisecond Retrieves the millisecond part represented by this instance.
Minute Retrieves the minute represented by this instance.
Month Retrieves the month represented by this instance.
Now Retrieves a DateTime representing the current date and time.
Second Retrieves the second's part of this instance.
Ticks Retrieves the 100-nanosecond tick count for this instance.
TimeOfDay Retrieves the time of day for this instance.
Today Retrieves the current date.
Year Retrieves the year part of this instance.

See Also

DateTime Structure | System Namespace