Data.SqlTimSt.UTCToLocal

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.SqlTimSt.pas
Data.SqlTimSt.hpp
Unit: Data.SqlTimSt
Parent: Data.SqlTimSt

Delphi

function UTCToLocal(var Value: TSQLTimeStamp): TSQLTimeStamp;

C++

extern DELPHI_PACKAGE TSQLTimeStamp __fastcall UTCToLocal(TSQLTimeStamp &Value);

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.

See Also