Data.SqlTimSt.LocalToUTC

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 LocalToUTC(var Value: TSQLTimeStamp): TSQLTimeStamp;

C++

extern DELPHI_PACKAGE TSQLTimeStamp __fastcall LocalToUTC(TSQLTimeStamp &Value);

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.

See Also