System Date/Time Format Problems
Peter Brigham MD
pmbrig at gmail.com
Sat Jul 2 08:43:24 EDT 2011
There may be a better way, but you might have to use a shell call. Execute the following in the message box:
put shell("man date | col -b")
and look at the options. You can get any format you want, and this way you would have full control over date display format in LC.
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
On Jul 1, 2011, at 1:59 PM, Pete wrote:
> I'm running into some major differences in the way LC displays system date
> and time versus what I have set up in my OSX control panel and wondering if
> anyone else has run into this. This is in the context of providing my users
> with a preference setting for how they want dates/times displayed.
>
> First problem is that OSX has 4 date and time formats (Short, Medium, Long,
> and Full) whereas LC only has three (Short, Abbrev, Long) so there are some
> inevitable discrepancies.
>
> For dates:
> LC Short = OSX Short
> LC Long = OSX Full
> LC Abbrev = no OSX format
> no LC format = OSX medium or long
>
>
> For times:
> LC Short = OSX Short
> LC Abbrev = OSX Short
> LC Long = OSX Medium
> no LC format = OSX Long or full
>
> Any thoughts?
>
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list