oops..I wish I could say send the earlier one back!!! :-)
I am not sure if this has been seen by others, but I think under some
circumstances, Parsedate works differently under Mac and Windows.
This is the function call:
d As new date
d.TotalSeconds= d.RetTotalSeconds(puDay.Text+"/"+puMonth.text
+"/"+puYear.text,puStHr.text ,puStMin.text)
In a module:
function (extends d As date, theDate as string, theHrs as string,
theMins as string) as double
if (not ParseDate(theDate, d)) then
end if
d.TotalSeconds = d.TotalSeconds+3600*CDbl(theHrs)+60*CDbl(theMins)
Return d.TotalSeconds
If the date is NOT the current date, works on both platforms,
(returns a date object at midnight) but if the date is the current
date, parsedate returns
=midnight on the Mac
= the current time on Windows.
Is this known ?
tks
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>