I earlier reported a problem with ParseDate() in RB2007r1 (qbrbthfn)
and was told by RS that it had been fixed in the betas of 2007r2.
Now it seems that this is not so, and I have submitted a new report
uwyqrgga.
The ParseDate() documentation states: "If you use only the last two
digits of the year, the current century is assumed."
This is simply not true. e.g. the input "2/4/07" yields a date d such
that d.SQLDate = 0007-04-02 (New Zealand date ordering). The code
that yields this is:
dim s as string
dim ok as boolean
dim d as date
s = shortDateField.text
ok = parseDate(s, d)
if ok then
SQLDateField.text = d.SQLDate
end if
Michael Maclean
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>