System.TDateTime Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
CreatepublicCreates and initializes an instance of TDateTime.
CurrentDatepublicReturns the current date as a TDateTime value.
CurrentDateTimepublicReturns the current date and time as a TDateTime value.
CurrentTimepublicReturns the current time as a TDateTime value.
DateStringpublicConverts the date of the TDateTime value to a string.
DateTimeStringpublicConverts the TDateTime value to a string.
DayOfWeekpublicReturns the day of the week of the date portion in the TDateTime.
DecodeDatepublicSeparates the TDateTime value into year, month, and day values and stores these values in the year, month, and day parameters, respectively.
DecodeTimepublicSeparates the TDateTime value into hour, minute, second, and millisecond values and stores these values in the hour, min, sec, and msec parameters, respectively.
FileDatepublicConverts the date/time value to an OS date/time stamp.
FileDateToDateTimepublicConverts an OS timestamp value to TDateTime value.
FormatStringpublicFormats the TDateTime object using the format given by format.
operator !=publicCompares two TDateTime objects for inequality.
operator ()publicConverts the TDateTime object.
operator +publicAdds a specified value to the TDateTime object.
operator ++publicIncrements the value of the TDateTime object by a specified number of days.
operator +=publicIncrements the value of this TDateTime object by a specified value.
operator -publicSubtracts a specified value from the TDateTime object.
operator --publicDecrements the value of the TDateTime object by a specified number of days.
operator -=publicDecrements the value of this TDateTime object by a specified value.
operator <publicTests whether this TDateTime value is less than another specified TDateTime value.
operator <=publicTests whether this TDateTime value is less than or equal to another specified TDateTime value.
operator =publicAssigns the value of the TDateTime object.
operator ==publicCompares two TDateTime objects for equality.
operator >publicTests whether this TDateTime value is greater than another specified TDateTime value.
operator >=publicTests whether this TDateTime value is greater than or equal to another specified TDateTime value.
TimeStringpublicConverts the TDateTime object to an AnsiString.
toAnsiStringpublic