RAD Studio VCL Reference
|
Converts a string to a TSQLTimeStamp value.
function TryStrToSQLTimeStamp(const S: string; var TimeStamp: TSQLTimeStamp): Boolean;
Boolean TryStrToSQLTimeStamp(const AnsiString S, TSQLTimeStamp TimeStamp);
Use TryStrToSQLTimeStamp to convert the string S to a TSQLTimeStamp value.
If S can be converted to a TSQLTimeStamp value, the result is returned as the TimeStamp parameter and TryStrToSQLTimeStamp returns true.
If S can't be converted to a TSQLTimeStamp value, TimeStamp is set to NullSQLTimeStamp and TryStrToSQLTimeStamp returns false.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|