Posts Tagged ‘Date’

It is pretty hard to find a simple-yet-functional and good looking datepicker script.

The most popular one is probably the jQuery UI's picker but it is heavy in size for any project that actually does only need a datepicker.

Pikaday - JavaScript Datepicker

Pikaday is a standalone JavaScript datapicker which is small in size (<5kb) and can work well with Moment.js if advanced formatting is needed.

The design of the picker can be easily customized with CSS (the default style already looks good) and offers "quick year switching".

Datejs is an open-source JavaScript Date Library. With simple to use commands, Datejs provides many useful date functions like:

  • last December
  • next Thursday
  • +10years
  • & many date format conversions.

JavaScript Date Library

Date objects in JavaScript are generally problematic as they may require complicated calculations to run. Datejs is absolutely a life-saver in this area.