System.DateTimeOffset.Day Property

Gets the day of the month represented by the current DateTimeOffset object.

Syntax

public int Day { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DateTimeOffset.Day property is not affected by the value of the DateTimeOffset.Offset property.

You can also create a string representation of a DateTimeOffset object's day component by calling the erload:System.DateTimeOffset.ToString method with the "d" or "dd" custom format specifiers.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0