Re: age calculation on Windows vs Mac

2011-07-20 Thread André Bisseret
Pete, Ken, SparkOut, Bill, Thank you very much for your attention and your answers. This morning, I am going to change my handler in order to get windows accepting it!! I will let you know my result Wonderful list ;-)) André Le 20 juil. 2011 à 01:24, Bill Vlahos a écrit : The problem

Re: age calculation on Windows vs Mac

2011-07-20 Thread SparkOut
that the implementation needs to be changed in order for it to happen. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/age-calculation-on-Windows-vs-Mac-tp3678552p3680176.html Sent from the Revolution - User mailing list archive at Nabble.com

Re: age calculation on Windows vs Mac

2011-07-20 Thread André Bisseret
Le 20 juil. 2011 à 09:49, SparkOut a écrit : As well as changing your handler, which is unfortunately necessary at the moment, it is a pity indeed ; I am wasting a lot of time :-(( if you have access to the QCC you could vote for bug #4941 and/or message support and bring awareness back to

Re: age calculation on Windows vs Mac

2011-07-20 Thread André Bisseret
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 Done; in fact, I discovered that I had already put 5 votes for this bug, quite a long time ago ;-))

Re: age calculation on Windows vs Mac

2011-07-20 Thread André Bisseret
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

Re: age calculation on Windows vs Mac

2011-07-20 Thread Bob Sneidar
I purchased Infowallet, (it's awesome) and so feel it's alright to scavenge your bit of code. :-) Bob On Jul 19, 2011, at 4:24 PM, Bill Vlahos wrote: The problem is the epoch date in Windows is 1970 and LiveCode can't deal with dates earlier than that in Windows. You will need to use a

Re: age calculation on Windows vs Mac

2011-07-20 Thread Bill Vlahos
Bob, I'm glad you like InfoWallet. Thanks for the kind words. This code originally came from this awesome list. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jul 20, 2011, at 9:21 AM,

age calculation on Windows vs Mac

2011-07-19 Thread André Bisseret
Bonjour, I am a Mac user but I recently bought a PC (windows 7) in order to test my standalones for windows more quickly. I am fighting for hours now with the following problem : In an app., I have a handler that calculates the age from the short birth date (thanks to Jim Ault who gave it

Re: age calculation on Windows vs Mac

2011-07-19 Thread André Bisseret
Thanks a lot Pete for this information; i was not aware of these epoch dates format I am going to dig around that I much appreciate your prompt help André Le 19 juil. 2011 à 18:40, Pete a écrit : Hi Andre, I don't have a definitive answer for you but this sounds like it is connected to

Re: age calculation on Windows vs Mac

2011-07-19 Thread Ken Ray
On Jul 19, 2011, at 11:40 AM, Pete wrote: Hi Andre, I don't have a definitive answer for you but this sounds like it is connected to epoch dates which are the number of days since Jan 1, 1970. I'm guessing that somewhere along the line, your dates are being converted to the epoch format on

Re: age calculation on Windows vs Mac

2011-07-19 Thread SparkOut
and Windows developers, so I am rather surprised that there is so little attention paid to this - and the old, old, old bugzilla entry #4941 from 2007. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/age-calculation-on-Windows-vs-Mac-tp3678552p3679589.html Sent

Re: age calculation on Windows vs Mac

2011-07-19 Thread Bill Vlahos
The problem is the epoch date in Windows is 1970 and LiveCode can't deal with dates earlier than that in Windows. You will need to use a VBScript. Here is what I use in InfoWallet which handles Windows, Mac, and Linux correctly which was based on code provided by folks on this list. on calcAge