System.SysUtils.GetTime - RAD Studio API Documentation (original) (raw)
From RAD Studio API Documentation
Jump to: navigation, search
Delphi
function GetTime: TDateTime;
C++
extern DELPHI_PACKAGE System::TDateTime __fastcall GetTime(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pasSystem.SysUtils.hpp | System.SysUtils | System.SysUtils |
Description
Returns the current time.
GetTime and Time return the current time as a System.TDateTime value. The two functions are completely equivalent.
Note: Time clashes with an Xlib function of the same name. Use GetTime in multi-device code (for example, for MAC OS X apps).
See Also
- System.SysUtils.Time
- System.SysUtils.Date
- System.SysUtils.DecodeTime
- System.SysUtils.Now
- System.SysUtils.TimeToStr
- Date and Time Support
Retrieved from "https://docwiki.embarcadero.com/Libraries/Athens/e/index.php?title=System.SysUtils.GetTime&oldid=641511"