Re: Beyond POSIX time

2016-01-09 Thread FlexibleLearning.com
> I get the date you first put in. Tried several, all the way back to the battle of > Hastings. All good The negative seconds do the math as well as ordinary > ones. If you got a Saturday for 14 October 1066, all good. Otherwise the algorithm is not accounting for the 1582 or 1752 calendar

Re: Beyond POSIX time

2016-01-09 Thread Richard Gaskin
dunbarx wrote: > On 1/8/2016 4:53 PM, Richard Gaskin wrote: >> Try this: >> >> on mouseUp >>put "1/1/69" into t >>convert t to secs >>convert t to short date >>put t >> end mouseUp > > I get the date you first put in. Tried several, all the way back > to the battle of Hastings.

Re: Beyond POSIX time

2016-01-09 Thread Kay C Lan
On Sat, Jan 9, 2016 at 7:21 PM, FlexibleLearning.com < ad...@flexiblelearning.com> wrote: > > If you got a Saturday for 14 October 1066, all good. Otherwise the > algorithm > is not accounting for the 1582 or 1752 calendar changes. > > Yes, often forgotten, as is the particular country you you

Re: Beyond POSIX time

2016-01-08 Thread Mark Wieder
On 01/08/2016 03:06 PM, Richard Gaskin wrote: Mark Waddingham flagged this a while back, *a while* ... 2007 ... rev 2.8.1rc3 -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Beyond POSIX time

2016-01-08 Thread J. Landman Gay
On 1/8/2016 4:53 PM, Richard Gaskin wrote: Try this: on mouseUp put "1/1/69" into t convert t to secs convert t to short date put t end mouseUp Is there yet a convenient way to handle conversion of dates prior to 1/1/70? I get 1/1/69. I get the same thing if I specify the year

Re: Beyond POSIX time

2016-01-08 Thread Richard Gaskin
J. Landman Gay wrote: On 1/8/2016 4:53 PM, Richard Gaskin wrote: Try this: on mouseUp put "1/1/69" into t convert t to secs convert t to short date put t end mouseUp Is there yet a convenient way to handle conversion of dates prior to 1/1/70? I get 1/1/69. I get the same thing

Re: Beyond POSIX time

2016-01-08 Thread Matthias Rebbe | M-R-D
Hi, Malte created a date library https://github.com/derbrill/libdate If i remember right it can handle dates below 1970 and above 2036. Matthias > Am 08.01.2016 um 23:53 schrieb Richard Gaskin : > > Try this: > > on mouseUp > put "1/1/69" into t > convert t to

Re: Beyond POSIX time

2016-01-08 Thread dunbarx
Richard. I get the date you first put in. Tried several, all the way back to the battle of Hastings. All good The negative seconds do the math as well as ordinary ones. The thing went south when I tried the birth of Charlemangne. I suppose thee digit dates are not well received. Craig