Hi, In http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/strtotime.html, I found
"StrToTime converts the string S to a TDateTime time value. The time must consist of 1 to 4 digits, separated by the TimeSeparator character. If two numbers are given, they are supposed to form the hour and minutes." I thought "What, no seconds ?", but on inspection of the code it seems StrToTime parses the time into 1 to 4 NUMBERS, which are then passed to EncodeTime. Perhaps the words could read something like: StrToTime converts the string S to a TDateTime time value. The time must consist of 1 to 4 integers, separated by the TimeSeparator character. Numbers are supposed to form the hour, minute, second and millisecond, in the order found, and are converted to a time using EncodeTime. An am/pm string may be appended, using 'TimeAMString', TimePMString, or 'a', 'A', 'p' or 'P'. cheers, John Sunderland _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
