convert

Peter Haworth pete at lcsql.com
Sat Jul 5 15:45:12 EDT 2014


Yes, I read that but it's not clear if that refers to the output format or
the input format.  I guess I can fiddle around with the system settings on
my Mac to figure it out.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Sat, Jul 5, 2014 at 11:37 AM, Richmond <richmondmathewson at gmail.com>
wrote:

> On 05/07/14 20:12, Peter Haworth wrote:
>
>> Does the convert command take account of the user's syatem settings when
>> parsing its input?
>>
>> In other words, if I'm in the UK and pass the string "06/07/14" to the
>> following convert command
>>
>> convert "06/07/14" from system date to  dateitems
>>
>> ... will I end up with month=07 and day=06 rather than the other way
>> round?
>>
>
> Just go and read under CONVERT in the Dictionary:
>
> "The ability to use the date and time format preferred by the user was
> introduced in version 1.1. In previous versions, the convert command, along
> with the time and date functions, consistently used the standard U.S.
> format, even if the operating system's settings specified another language
> or date and time format."
>
> Richmond.
>
> _______________________________________________
> 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