realbasic-nug
[Top] [All Lists]

Re: Date Property Bug?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Date Property Bug?
From: Mark Lubratt <mark dot lubratt at indeq dot com>
Date: Mon, 30 May 2005 20:49:43 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <JNEMKODMMFHECCENBEECEEAMHAAA dot rblists at bizay dot net> <b9c524a3ad2eaa3f41cff8ff4344c8bb at gsco dot de> <63157fab261f70381637d165820ad891 at indeq dot com> <5D40E133-F0F0-4691-89C4-281539BBD9BE at rbapp dot com>
Actually, ShortDate is supposed to display '05'. Which, for me, happens correctly on Mac and Win. My problem was that "LongDate" in the regional settings on my WinXP box was set to display "5/28/2005". I changed that to what I wanted and LongDate worked! I didn't realize that RB used the regional settings for the display. That should probably be documented in the LR.

Mark

On May 30, 2005, at 8:39 PM, Loren wrote:


no, not your machine, it's a bug, .ShortDate is incorrect between mac and win, one does '2005' the other just '05', one of which is wrong



On May 30, 2005, at 12:13 PM, Mark Lubratt wrote:

Yep. Obviously it's something setup on my machine. Now, I'll just have to figure that out...

Thanks, everyone!
Mark

On May 30, 2005, at 8:29 AM, Frank Bitterlich wrote:


AFAIK, it depends on your system settings what the various XXXDate falvors give you. Maybe the system in question is set up to display dates in the way mentioned here?

Cheers,
   Frank+++

Am 29.05.2005 um 07:14 schrieb Carlos:


...
MsgBox d.AbbreviatedDate
MsgBox d.LongDate
MsgBox d.ShortDate

On the Windows IDE 5.5.5, I'm getting the following:

5/28/2005
5/28/2005
5/28/05
...

On Windows 2000, RB 5.5.5, IDE and Compiled:
Sun, May 29, 2005
Sunday, May 29, 2005
5/29/2005

...


_/ | \________________________________
Loren
RB 555P Mac n Win Ide
Einhugarfied and monkey'd up
Tigger 10.4.1 - g5 2g
W2000 on Virt Pc and some junky laptop
discodj a~t mac _ c~o~m



_______________________________________________
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>


_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>