System Date/Time Format Problems
J. Landman Gay
jacque at hyperactivesw.com
Sat Jul 2 12:37:03 EDT 2011
On 7/2/11 11:16 AM, Pete wrote:
> But Im still faced with the problem of figuring out what the user's System
> Preference settings are for the short, medium, long, and full date and time
> formats.
You can get their preferred format by either setting the usesystemdate
to true and then getting a date or time, or just by getting "the system
date". Then all the LiveCode date formats will reflect the user
preference. For the abbrev date, where the month is not fully expanded,
a quick lookup in the monthnames would fix that. Just replace the
abbreviated month name with the expanded one.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list