Fund Manager
Contact Us

Re: Oddity working with dd/mm/yyyy dates

[ Q2 00 - Q2 01 Archive ] [ Current Message Board ] [ Archives ] [ Search ]

Posted by Mark on July 14, 2000 at 09:04:52:

In Reply to: Oddity working with dd/mm/yyyy dates posted by Hugh Wallis on July 14, 2000 at 08:50:32:

: I work with Canadian settings - i.e. dates are dd/mm/yyyy

: When I am entering transactions and I try to tab between portions of the date field, it seems to check the month first and reject a day of 31 if the (old) month that was in the date field has less than 31 days. For example, if it is June and I am adding a transaction for 31 May, the default date in the date field when I bring up the dialog is a date in June (which hath but 30 days). If I enter 31 in the day part of the date and tab to the month part, it appears to decide that, since June has only 30 days, I must have meant 1 instead of 31.

: This is apparently a hang over from US Centric code that assumed everyone worked with dates in the mm/dd/yyyy format (which is not usually true for the few billion people in the world who are not American)

: Any chance of fixing it?

: Thanks

: Hugh

Hi Hugh,
This date control is a common control supplied by Microsoft. We could
re-work the way this works, but it would essentially mean building this
control from scratch. It actually works the same way in either date
format, it is just that it actually is more troublesome when you're entering
the day before you've got to the month. You can use the arrow keys to
move between the fields (month, day, year), so in these particular instances
you may prefer to set the month first, and then hit the left arrow key and
set the day. Alternatively, you could pick the date from the drop down

Mark Beiley

Fund Manager for Windows 3.1x/95/98/NT

Replies: | Search | Site Map | About Us | Privacy Policy