I have a simple script that adds one day to a date and returns the next date. I expect this to return 11/1/12, and it does:
put"10/31/12"intoaDate convertaDate toseconds add 86400 to aDate convert aDate to short date return aDate But change "10/31/12" to "10/31/10" - it returns 10/31/10 It does not add a day - instead it returns the same date. The same thing happens for these years (maybe some more, I have only tested from 1970 to 2051): 1999, 2004, 2010, 2021, 2027, 2032 Can anybody confirm? /Mats "Change is the price for survival" /Gary Player _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode