Data.SqlTimSt.LocalToUTC
Delphi
function LocalToUTC(var Value: TSQLTimeStamp): TSQLTimeStamp;
C++
extern DELPHI_PACKAGE TSQLTimeStamp __fastcall LocalToUTC(TSQLTimeStamp &Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.SqlTimSt.pas Data.SqlTimSt.hpp |
Data.SqlTimSt | Data.SqlTimSt |
Description
Converts a TSQLTimeStamp variable from local time to Coordinated Universal Time (UTC).
Call LocalToUTC to convert the time stored in Value from local time to Coordinated Universal Time (UTC), based on the time-zone settings given through the TZInfo parameter.
LocalToUTC returns the converted time value.