SqlTimSt.TryStrToSQLTimeStamp
From RAD Studio VCL Reference
Contents |
Delphi Information
From SqlTimSt.pas
function TryStrToSQLTimeStamp(const S: string; var TimeStamp: TSQLTimeStamp): Boolean; overload; function TryStrToSQLTimeStamp(const S: string; var TimeStamp: TSQLTimeStamp; const FormatSettings: TFormatSettings): Boolean; overload;
Unit: SqlTimSt
Type: function
Visibility: public
C++ Information
From SqlTimSt.hpp
bool __fastcall TryStrToSQLTimeStamp(System::UnicodeString S, Sqltimst::TSQLTimeStamp & TimeStamp);
Unit: SqlTimSt
Type: function
Description
Converts a string to a TSQLTimeStamp value.
Use TryStrToSQLTimeStamp to convert the string S to a TSQLTimeStamp 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 TSQLTimeStamp value, the result is returned as the TimeStamp parameter and TryStrToSQLTimeStamp returns true.
If S cannnot be converted to a TSQLTimeStamp value, TimeStamp is set to NullSQLTimeStamp and TryStrToSQLTimeStamp returns false.