Home & blog  /  2011  /  Mar  /  view post  /

Update to date calculator script

posted: 13 Mar '11 13:13 tags: Javascript, date, time, calculation

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 new comment

Comments (0)