[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Calendar' (#lcl)

TCustomCalendar.Date

String representation for the DateTime property.

Declaration

Source position: calendar.pp line 111

public property TCustomCalendar.Date : string
  read GetDate
  write SetDate
  stored False;

Description

Date is a String property that represents the value in DateTime as a string data type. Reading the value in Date calls the GetProps method to get the current value for DateTime, and converts it to its string representation. Setting the value in Date calls the SetProps method to store the new value for both Date and DateTime.

Errors

Raises an EInvalidDate exception when Date contains an invalid date value.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.