Interesting, it DOES work if you add 3600 to the seconds..not one second less though: Hmm?
function nextDayDate pDate convert pDate to seconds put 3600+60*60*24 into tSecondsInDay add tSecondsInDay to pDate convert pDate to short date return pDate end nextDayDate _______________________________________________ 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