SysUtils.DateTimeToSystemTime

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From SysUtils.pas

	procedure DateTimeToSystemTime(const DateTime: TDateTime; var SystemTime: _SYSTEMTIME);


Unit: SysUtils

Type: procedure

Visibility: public

C++ Information

From SysUtils.hpp

	void __fastcall DateTimeToSystemTime(System::TDateTime DateTime, _SYSTEMTIME & SystemTime);


Unit: SysUtils

Type: function

Description

Converts a TDateTime value into the Win32 API's system time type.


Use DateTimeToSystemTime to convert a TDateTime value into a TSystemTime (Delphi) or _SYSTEMTIME (C++) value. This procedure is primarily used to convert TDateTime values in order to make a Windows API call.

See Also

Personal tools
Translations
Newest Version