Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 611 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 611 Bytes

TS DateTimes

Dependencies: none

Utility functions for date-time conversion in TypeScript.

  • Conversion of unix epoch timestamps to javascript 'Date' objects and back, see Timestamps.
  • Conversion of dates/timestamps to human readable display dates, see Dates and Timestamps.
  • Conversion to/from .NET style JSON timestamps (i.e. /Date(1234567890-0000)/), see DotNetJsonDate.
  • Date constants, such as month names, day of week names, etc., see DateConstants.
  • And helper functions for calculating date differences, first/last certain day of the week in a month, etc, see DateUtil.