Update to date calculator script
I've just updated my date calculation tool, which you might recall allows you to get the number of seconds, minutes, hours, days or weeks between two dates.
It now allows you to specify the string now for one of the data arguments, meaning calculation will be done from/until the present moment
Also new is the ability to return years and months as well as the above units, and you can now specify time - not just date - in the date arguments.
Not the most exciting script in the world, but quite a useful one.
Head over here to download, get usage info or view a demo.
post a commentCalculate time between two dates
Just created this script for a job I'm doing. It allows you to return the seconds, minutes, hours, days or weeks between two passed dates. Later on I'll develop this script further so it takes into account time, not just dates, and can return only work or weekend days as required, rather than just all days.
Head over here to download, get usage info or view a demo.
post a comment