Loading...
 
Features / Usability

Features / Usability


mathematical calculation tracker field

Ukraine

Why start a new topic when you can re-use a topic you started 6 years ago biggrin

I could use some advice again, this time for calculating time between two dates -

I'm trying to calculate the difference between the current date and one in the future.  I have a Date and Time Picker field for the future date (let's call it 'futureDate').  So in the mathematical calculation field I already tried a number of variations:

(date(sub futureDate now))
(date(sub futureDate current))
(date(sub futureDate today))
(date(sub futureDate now()))

I checked on the php page https://www.php.net/manual/en/function.date.php for these variables, but none worked.

Also, how would I format it in hours/min.? or days?

Any thoughts?

Thanks,
Mike

Upcoming Events

1)  Wed 23 Sep 2020 14:00 GMT-0000
September TRM

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.