convert to seconds issue

larry at significantplanet.org larry at significantplanet.org
Tue Apr 15 20:09:11 CEST 2014


thanks Jacqueline,
I didn't know about the centuryCutoff, but I had experimented and found out 
that it does always  work by supplying the 4-digit year.  I just wish the 
documentation in LC was better, but that's why this forum is so great!
Larry


----- Original Message ----- 
From: "J. Landman Gay" <jacque at hyperactivesw.com>
To: "How to use LiveCode" <use-livecode at lists.runrev.com>
Sent: Tuesday, April 15, 2014 11:44 AM
Subject: Re: convert to seconds issue


> On 4/15/14, 7:58 AM, larry at significantplanet.org wrote:
>> But as soon as I go to:
>>
>> 4/15/35 6:47 AM  (2035) or higher, LC won't convert it, but just leaves 
>> it as the date/time
>>
>> I'm using 6.1.1 (rc 4) on XP Service Pack 3
>
> I don't have 6.1.1 currently installed but I tried it with 6.1.3 and it 
> works fine, at least on a Mac. However, you'll get a negative number of 
> seconds because the "35" will be interpreted as 1935 unless you change the 
> centuryCutoff. It's easier to supply the full 4-digit year, which will 
> always work.
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.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