Data.SqlTimSt.UTCToLocal
Delphi
function UTCToLocal(var Value: TSQLTimeStamp): TSQLTimeStamp;
C++
extern DELPHI_PACKAGE TSQLTimeStamp __fastcall UTCToLocal(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 Coordinated Universal Time (UTC) to local time.
Call UTCToLocal to convert the time stored in Value from Coordinated Universal Time (UTC) to local time, based on the time-zone settings given through the TZInfo parameter.
UTCToLocal returns the converted time value.