Steve, Try this...
on mouseUp put <beginning_date> into theStart put <ending_date> into theStop convert theStart to seconds convert theStop to seconds set the numberFormat to 0.00 put (theStop-theStart) into theDif put (theDif/60)/60 into theHrs put (theHrs/24) into theDays answer theStop&"-"&theStart&"="&theDif&RETURN&theHrs&&"Hours" &RETURN&theDays&&"Days" end mouseUp Roger Eller [EMAIL PROTECTED] > how to do date calculations. I want to be able to determine the number of > days a stack has been used by subtracting the start date from the current > date. Any help would be much appreciated. > > Thanks > > Steve > > Stephen R. Messimer _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
