System.SysUtils.SystemTimeToDateTime

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function SystemTimeToDateTime(const SystemTime: TSystemTime): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall SystemTimeToDateTime(const _SYSTEMTIME &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 (Object Pascal) or _SYSTEMTIME (C++) API format to a TDateTime value. SystemTimeToDateTime is available on Windows only.

See Also


Code Examples