On Feb 11, 2007, at 2:43 PM, Lennox Jacob wrote:

Hello,

I have an app that was built with RB2005R2 (MAC PowerPC), I used longdates a lot and when I saved my files the dates were saved in the format Tuesday, August 12, 1980.

When I opened my files I would use ParseDate to verify the date and I had no problems.

Now I have built my app in RB2007R1 and I am getting an error opening my files, apparently RB2007R1 is expecting the dates in the format Tuesday, 12 August 1980.

How do I get around that?

It dependent on how your long date settings are set in the OS
Not sure of the precise nature of the change from 2005 to 2007 but it has to do with only using the OS supplied routines
You're not the first to bump into this change

If you change your long date settings in OS X you may be able to affect this

The other would be to remove the last , from the dates you have when you read them and then save them in a format that is much easier to deal with regardless of any other changes that are made to textual representations of dates and times (ie/ SQLDateTime format)

The other might be to save the totalseconds instead of the actual date and then you can show it in whatever format you want
_______________________________________________
Unsubscribe:
<[EMAIL PROTECTED]>

REAL Software has decided to consolidate this mailing list with the online Forums.  
On Monday, February 12, 2007, this mailing list will no longer be active.  We 
encourage you to continue your REALbasic and REAL SQL Server discussions on the 
Forums.  If you are not presently a member of the forum, please sign up today at 
<http://forums.realsoftware.com>.

Reply via email to