System.SysUtils.SystemTimeToDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SystemTimeToDateTime(const SystemTime: TSystemTime): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall SystemTimeToDateTime(const Winapi::Windows::TSystemTime &SystemTime);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Converts a system time value into a TDateTime value.

Call SystemTimeToDateTime to convert a value from Windows 32's TSystemTime (Delphi) or _SYSTEMTIME (C++) API format to a TDateTime value. SystemTimeToDateTime is available on Windows only.

See Also


Code Examples