[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Try to convert a string with a time indication to a TDateTime value
Source position: datih.inc line 127
function TryStrToTime( |
const S: String; |
out Value: TDateTime |
):Boolean; |
TryStrToTimetries to convert the string Sto a TDateTimetime value, and stores the result in Value. The time must consist of 1 to 4 digits, separated by the TimeSeparatorcharacter. If two numbers are given, they are supposed to form the hour and minutes.
The function returns Trueif the string contained a valid time indication, Falseotherwise.
|
Try to convert a string with a date indication to a TDateTime value |
|
|
Try to convert a string with date/time indication to a TDateTime value |
|
|
Convert a date string to a TDateTimevalue. |
|
|
Convert a time string to a TDateTimevalue. |
|
|
Converts a TDateTimevalue to a date string with a predefined format. |
|
|
Convert a TDateTimetime to a string using a predefined format. |