System.TDateTime.TimeString

From RAD Studio API Documentation
Jump to: navigation, search

C++

System::String __fastcall TimeString() const;

Properties

Type Visibility Source Unit Parent
function public systdate.h System TDateTime

Description

Converts the TDateTime object to an AnsiString.

TimeString returns an AnsiString object containing the time value (the fractional portion of the Val data member) of the TDateTime object to a string. The conversion uses the format specified by the LongTimeFormat variable. Change the format of how the string is displayed by changing the value of one or more of the date/time formatting variables.

See Also