Skip to content
@datetime

Date & Time

Community-driven and maintained collection of JavaScript date and time utilities.

Popular repositories Loading

  1. current-week-number current-week-number Public

    Get current week number of the current year or given date string format.

    JavaScript 22 2

  2. week week Public

    Get the current week number.

    JavaScript 9 1

  3. seconds seconds Public

    Get the number of seconds for a minute, hour, day and week.

    JavaScript 9

  4. weekday weekday Public

    Get the name and number of the current weekday. Or get the name of the weekday for a given number

    JavaScript 7 2

  5. months months Public

    Months of the year.

    JavaScript 6 4

  6. year year Public

    Simple utility to get the current year with 2 or 4 digits.

    JavaScript 5

Repositories

Showing 10 of 20 repositories
  • days Public

    Days of the week in english and french

    datetime/days’s past year of commit activity
    JavaScript 5 MIT 5 1 1 Updated Oct 29, 2022
  • months Public

    Months of the year.

    datetime/months’s past year of commit activity
    JavaScript 6 MIT 4 0 0 Updated Jul 16, 2019
  • seconds Public

    Get the number of seconds for a minute, hour, day and week.

    datetime/seconds’s past year of commit activity
    JavaScript 9 MIT 0 0 0 Updated Aug 29, 2017
  • current-day-number Public

    Get day number of the current year or given date format.

    datetime/current-day-number’s past year of commit activity
    JavaScript 3 MIT 0 1 0 Updated Jul 2, 2017
  • month-day Public

    Get the current day of the month, according to local time or UTC.

    datetime/month-day’s past year of commit activity
    JavaScript 4 MIT 0 0 0 Updated May 24, 2017
  • year-days Public

    Get the number of days in a year

    datetime/year-days’s past year of commit activity
    JavaScript 4 MIT 0 0 0 Updated May 24, 2017
  • leap-year Public

    Check if a year is a leap year

    datetime/leap-year’s past year of commit activity
    JavaScript 3 MIT 1 0 0 Updated May 24, 2017
  • iso-week Public

    Get the ISO week of the year.

    datetime/iso-week’s past year of commit activity
    JavaScript 4 MIT 0 1 0 Updated May 24, 2017
  • year-weeks Public

    Get the number of weeks in year - leap or not.

    datetime/year-weeks’s past year of commit activity
    JavaScript 3 MIT 0 0 0 Updated May 24, 2017
  • current-week-number Public

    Get current week number of the current year or given date string format.

    datetime/current-week-number’s past year of commit activity
    JavaScript 22 MIT 2 3 0 Updated May 24, 2017

Top languages

Loading…

Most used topics

Loading…