RDatePropertyDateTimeValue Property

This is used to get or set the value as a DateTime object expressed in local time.

Definition

Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public DateTime DateTimeValue { get; set; }

Property Value

DateTime

For non-iCalendar objects or if a TimeZoneId has not been specified or if the value format is a period, this acts the same as TimeZoneDateTime. If a time zone ID has been specified, an attempt is made to convert the underlying date/time to/from local time based on the time zone settings. A VTIMEZONE component with a matching time zone ID must exist in the owning calendar for this to occur. If one cannot be found, the value is not modified and will be treated as local time.

If set to a date/time, the value format is forced to date/time if it is currently set to period.

See Also