{buffer.set(startDate, datetime.getdate(2008,7,15, 10, 10, 23))}
{buffer.set(endDate, datetime.getdate(2008, 7, 16, 17, 58, 20))}
Time between {locale.formatdatetime($startDate)} and {locale.formatdatetime($endDate)}:
Total Days: {datetime.daysbetween($endDate, $startDate)}
Total Hours: {datetime.hoursbetween($endDate, $startDate)}
Total Minutes: {datetime.minutesbetween($endDate, $startDate)}
Total Seconds: {datetime.secondsbetween($endDate, $startDate)}
Total Milliseconds: {datetime.millisecondsbetween($endDate, $startDate)}
|