age calculation on Windows vs Mac

André Bisseret andre.bisseret at wanadoo.fr
Wed Jul 20 11:04:34 EDT 2011


Bonjour,

After following the quoted adv!ces from SparkOut, 
I found a handler given in 2006 by Peter Brigham on nabble; it is running well on PC (it avoid the 1970 barrier!)
Thank you Peter ;-))

When age < 4 (baby), I need to get it in month  so I keep the handler from Jim Ault  (thank you Jim ;-))

So that I have something like :

 set the itemDelimiter to slash
 if item 3 of birthdate < 1970 then
       -- Peter' handler
    else
      --Jim' handler 
end if

my stack script is beginning to be like "une usine à gaz" as we say in french ("a gas factory"? don't know the english equivalent ;-))

Hope some changes in LC, so that it be possible to get it more simple!

Thanks again to those who replied to my first post on this topic


Best to all

André


Le 20 juil. 2011 à 09:49, SparkOut a écrit :

> As well as changing your handler, which is unfortunately necessary at the
> moment, if you have access to the QCC you could vote for bug #4941 and/or
> message support and bring awareness back to this. It's not that Livecode
> "can't" determine pre epoch dates on Windows - it's just that the
> implementation needs to be changed in order for it to happen.





More information about the use-livecode mailing list