JBV,
One of the date issue you run into on OS X is that it has 23 hour and 25 hour
days - when going from or to standard time.
Here is a solution I've been using for many years:
function ahsm_DaysBetweenDates firstDate,secondDate
# Calculates the days elapsed between two dates, entered in an
t theYearStart into endCalc
put startCalc - endCalc into tempCalc
put trunc(tempCalc/86400)
end mouseUp
> Date: Wed, 16 Apr 2014 18:45:48 +0200
> From: m.schonewi...@economy-x-talk.com
> To: use-livecode@lists.runrev.com
> Subject: Re: Number of days between 2 dates
>
&g
Hi Jbv,
This subject has been discussed very frequently. You may want to search
the archives for a solution.
Probably, all will work fine if you take 12:00 instead of 00:00. DST may
be the culprit.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepa