Data.SqlTimSt.TryStrToSQLTimeStampOffset
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.SqlTimSt.pas Data.SqlTimSt.hpp
| |
Unit: Data.SqlTimSt | |
Parent: Data.SqlTimSt |
Delphi
function TryStrToSQLTimeStampOffset(const S: string; var TimeStampOffset: TSQLTimeStampOffset) : Boolean;
function TryStrToSQLTimeStampOffset(const S: string; var TimeStampOffset: TSQLTimeStampOffset; const FormatSettings: TFormatSettings) : Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall TryStrToSQLTimeStampOffset(const System::UnicodeString S, TSQLTimeStampOffset &TimeStampOffset)/* overload */;
Description
Converts a string to a TSQLTimeStampOffset value.
Use TryStrToSQLTimeStampOffset to convert the string S to a TSQLTimeStampOffset value.
The FormatSettings parameter can be used to specify the locale formatting setting to consider during the conversion.
If S can be converted to a TSQLTimeStampOffset value, the result is returned as the TimeStampOffset parameter and TryStrToSQLTimeStampOffset returns True.
If S cannot be converted to a TSQLTimeStampOffset value, TimeStampOffset is set to NullSQLTimeStampOffset and TryStrToSQLTimeStampOffset returns False.