Details

Utility functions for dealing with time. Working, but the design is not finalized.

Note: this time does not have any notion of time zones. Be careful converting to/from JavaScript dates, which do know about time zones.

Sample

Function Input Output