Difference between revisions of "ScriptCore3.StrToDate"
m (→Description) |
m |
||
Line 1: | Line 1: | ||
− | + | '''function StrToDate(const s: string): TDateTime;''' | |
− | + | s: string to be converted | |
− | + | Result: date in a [[TDateTime]] format | |
==Description== | ==Description== |
Revision as of 06:43, 26 August 2013
function StrToDate(const s: string): TDateTime; s: string to be converted Result: date in a TDateTime format
Description
This function will try to convert "yyyy-mm-dd" string into TDateTime format.
Bug: "2006-01-01" is being checked as a "006-01-01" input |
Bug: furthermore, " 2006-01-01" is being checked as intended, but recognised as not a valid input |