Not everyone here works on a Mac. I agree that it would be good to have an
mc function that told me what the system settings were but to have put the
date return an unknown format would be a "bloody disaster". The amout of
workarounds we'd all need to do to determine the format would be counter
productive.

As I said before another convert function or a global property that gave the
format as a string would be the best souloution but until then I'm quite
happy using the abbrev date because at least it's understood by the user and
is consistent to any date handling I'm doing.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rob Cozens
> Sent: Friday, 9 February 2001 3:28 AM
> To: [EMAIL PROTECTED]
> Subject: Re: International date format--redux
>
>
> Moi:>PS: What you characterize as "bloody disaster" is the
> behavior of some
> well-known Mac apps...
>
> Perhaps a better tact would be...
>
> "Actually, it's not that difficult.  If the date and time are returned in
> Control Panel format (a la HyperTalk ), one can write a simple script to
> decypher the Control Panel settings by creating a known date in dateItems
> format, converting it to a short date, and parsing the result.  Once one
> knows the format, all that is required is a function to convert dates &
> times from one of the two "universal" formats in which they should be
> stored internally (ie: dateItems or seconds) to the format in which the
> user wants it displayed.
>
> There is one minor shortcoming from my perspective: The Control Panel does
> not include a setting for Calendar format (ie: Monday as the first day of
> the week vs Sunday as the first day of the week)."
> Rob Cozens, CCW
> http://www.serendipitysoftware.com/who.html
>
> Where but America can the person who lost the popular vote become
> President
> without a coup?
>
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to