2.4.0 • Published 9 months ago
@quenty/time v2.4.0
Time
Library handles time based parsing / operations. Untested. Based off of PHP's time system. Note: This library is out of date, and does not necessarily work. I recommend using os.time()
Installation
npm install @quenty/time --save
Usage
Usage is designed to be simple.
Time.getDaysMonthTable(year)
Returns a Days in months table for the given year
Time.getSecond(currentTime)
Time.getMinute(currentTime)
Time.getHour(currentTime)
Time.getDay(currentTime)
Time.getYear(currentTime)
Time.getYearShort(currentTime)
Time.getYearShortFormatted(currentTime)
Time.getMonth(currentTime)
Time.getFormattedMonth(currentTime)
Time.getDayOfTheMonth(currentTime)
Time.getFormattedDayOfTheMonth(currentTime)
Time.getMonthName(currentTime)
Time.getMonthNameShort(currentTime)
Time.getJulianDate(currentTime)
Time.getDayOfTheWeek(currentTime)
Time.getDayOfTheWeekName(currentTime)
Time.getDayOfTheWeekNameShort(currentTime)
Time.getOrdinalOfNumber(number)
Time.getDayOfTheMonthOrdinal(currentTime)
Time.getFormattedSecond(currentTime)
Time.getFormattedMinute(currentTime)
Time.getRegularHour(currentTime)
Time.getHourFormatted(currentTime)
Time.getRegularHourFormatted(currentTime)
Time.getamOrpm(currentTime)
Time.getAMorPM(currentTime)
Time.getMilitaryHour(currentTime)
Time.isLeapYear(currentTime)
Time.getDaysInMonth(currentTime)
Time.getFormattedTime(format, currentTime)
2.3.1-canary.503.09c816c.0
9 months ago
2.3.1-canary.500.0c613a3.0
10 months ago
2.4.0
10 months ago
2.3.1-canary.497.9e2859c.0
10 months ago
2.3.1-canary.497.476b7c9.0
10 months ago
2.3.1-canary.497.2df557a.0
10 months ago
2.2.1-canary.468.ea8a226.0
1 year ago
2.3.0
1 year ago
2.2.0
2 years ago
2.1.1-canary.402.40f9a1f.0
2 years ago
2.1.1-canary.402.5852ffd.0
2 years ago
2.1.1-canary.402.a911cda.0
2 years ago
2.0.2-canary.256.8cd6f5a.0
3 years ago
2.0.2-canary.256.edbbcfc.0
3 years ago
2.1.0
3 years ago
2.0.2-canary.256.3cf0683.0
3 years ago
2.0.1-canary.238.f89c386.0
4 years ago
2.0.1-canary.238.2c4d310.0
4 years ago
2.0.1
4 years ago
2.0.1-canary.9c1fd3b.0
4 years ago
2.0.0-canary.209.382034a.0
4 years ago
1.2.1-canary.209.a9b49cf.0
4 years ago
2.0.0
4 years ago
1.3.0-canary.209.c61f821.0
4 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.3-canary.200.0a777f1.0
4 years ago
1.0.3-canary.199.34c89f1.0
4 years ago
1.0.3-canary.199.afec446.0
4 years ago
1.0.3-canary.199.b271c6e.0
4 years ago
1.0.3-canary.200.8329656.0
4 years ago
1.1.1-canary.38379e9.0
4 years ago
1.0.3-canary.199.0aa72ba.0
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.0.0
4 years ago