Are you aware of a javascript library that deals with durations?

60 views
Skip to first unread message

Noah Campbell

unread,
Sep 7, 2010, 12:46:44 AM9/7/10
to Datejs - A JavaScript Date Library
Since you ninjas are close to the subject of time and dates, I was
wondering if you were aware of any javascript libraries that deal with
durations, i.e. 4hrs - 23 minutes = 3 hours 37 minutes.

Thanks,
-Noah

geoffrey.mcgill

unread,
Sep 7, 2010, 12:55:58 AM9/7/10
to Datejs - A JavaScript Date Library
Hi Noah,

Can you explain further what "deal with durations" means?

parsing? adding/subtracting?

Noah Campbell

unread,
Sep 7, 2010, 11:44:42 AM9/7/10
to Datejs - A JavaScript Date Library
Parsing is the primary need. Being able to do natural language
parsing (3 hours, 10 minutes, 5 seconds or 3h 10m 5s or 3:10:05). Add/
Subtract would be nice as well.

-Noah
Reply all
Reply to author
Forward
0 new messages