Click or drag to resize

FieldKernelAssociatedDate Property

Gets the DateTime value from the date-only IField associated with this field, if any, (via the TimePicker_DateField property). When using separate date-only and time-only controls, e.g. DatePicker and TimePicker fields, in conjunction with one another, the two fields must be associated in order to perform proper TimeZone conversion with regard to daylight savings time. This gets this field's DateTime value safely even if there is no such association (in which case DateTime.MinValue.Date is used). Note that GetAssociatedDate is now preferred because it return null when there is no such date.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
protected DateTime AssociatedDate { get; }

Property Value

Type: DateTime
See Also