date - Date() for humans

  •        51

Date is an english language date parser for node.js and the browser. date.js now has much better NLP support.

http://matthewmueller.github.io/date/

Tags
Implementation
License
Platform

   




Related Projects

chronic - Chronic is a pure Ruby natural language date parser.


Chronic is a natural language date/time parser written in pure Ruby. See below for the wide variety of formats Chronic will parse. If the parser can find a date or time, either a Time or Chronic::Span will be returned (depending on the value of :guess). If no date or time can be found, nil will be returned.

Time4J - Advanced date, time and interval library for Java


Time4J is thought as a complete and high-end replacement for old java classes around java.util.Date, java.util.Calendar and java.text.SimpleDateFormat. This project is also intended as first-class alternative to the popular libraries JodaTime and its successor JSR-310 (Threeten) since the target audience of Time4J will not only be business Java developers, but also developers with a more scientific background (for example extended time scale support including leap seconds or historically accurate dates).

DateTimeRoutines


.NET Date Time Parser class. It finds the first instance of date and/or time within the passed string and converts it into DateTime. It's somewhat like Perl's str2time() or PHP's strtotime(). See more in codeproject article 'C# Date Time Parser'

Joda Time - Java Date and Time API


Joda-Time provides a quality replacement for the Java date and time classes. The standard date and time classes prior to Java SE 8 are poor. By tackling this problem head-on, Joda-Time has become the de facto standard date and time library for Java. The design allows for multiple calendar systems, while still providing a simple API. The 'default' calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included.

Time4A - Advanced Date and Time Library for Android


Time4A is an advanced Date and Time Library for Android. This project is a specialized version of Time4J-v3.x (using the branch level6 - starting with version v3.5) and distributes an AAR-library suitable for the Android platform. It is not modularized like Time4J itself, but its (single) artifact "time4j-android" replaces the Time4J-modules "core", "i18n", "calendar", "olson" and "tzdata". Hence the only Time4J-modules which might be combined with this AAR-library are just "misc" and "range" if needed.


Chronology - Building a better date/time library for Swift


Chronology is an attempt to build a better date and time API for Swift on top of the constructs provided by Foundation. Foundation.framework has one of the absolute best and most capable APIs available to any developer on any platform. However, it comes with a heavy price in the form of cognitive load. Too many developers do too many incorrect things. Over the years, Foundation has gained more and more convenience methods via the Calendar type, but fundamental issues remain.

mongoose-timestamp - Adds createdAt and updatedAt date attributes that get auto-assigned to the most recent create/update timestamp


Simple plugin for Mongoose which adds createdAt and updatedAt date attributes that get auto-assigned to the most recent create/update timestamp. The User model will now have createdAt and updatedAt properties, which get automatically generated and updated when you save your document.

when - A natural language date/time parser with pluggable rules


Check EN and RU rules and tests for them, for more examples.Needed rule not found? Open an issue with the case and it will be added asap.

Human Interval - Human readable time distances for javascript


Human readable interval parser for Javascript. Human Interval supports numbers up to ten being written out in English. If you want to extend it, you can do so by adding more keys to the language map. Alternatively you could add support for alternative languages.

Datejs - A JavaScript Date Library


Datejs is an open source JavaScript Date library for parsing, formatting and processing. Comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn’t just parse strings, it slices them cleanly in two.

timekeeper - Easy testing of time-dependent code. Node.js


This module mocks Date and Date.now in order to help you test time-dependent code. Provides travel and freeze functionality for your Node.js tests. Note: If traveling when time is frozen, the time will be frozen to the new traveled time.

countdownjs - A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances


A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances. While seemingly a trivial problem, the human descriptions for a span of time tend to be fuzzier than a computer naturally computes. More specifically, months are an inherently messed up unit of time. For instance, when a human says "in 1 month" how long do they mean? Banks often interpret this as thirty days but that is only correct one third of the time. People casually talk about a month being four weeks long but there is only one month in a year which is four weeks long and it is only that long about three quarters of the time. Even intuitively defining these terms can be problematic. For instance, what is the date one month after January 31st, 2001? JavaScript will happily call this March 3rd, 2001. Humans will typically debate either February 28th, 2001 or March 1st, 2001. It seems there isn't a "right" answer, per se.

PrettyTime - Social Style Date and Time Formatting for Java


PrettyTime is an OpenSource time formatting library. Completely customizable, it creates human readable, relative timestamps like those seen on Digg, Twitter, and Facebook. It has support for over 30 languages.

node-time - "time.h" bindings for Node.js


This module offers simple bindings for the C time.h APIs. It also offers an extended native Date object with getTimezone() and setTimezone() functions, which aren't normally part of JavaScript.A special Date constructor that returns a "super" Date instance, that has magic timezone capabilities! You can also pass a timezone as the last argument in order to have a Date instance in the specified timezone.

spacetime - A lightweight javascript timezone library


Make add, subtract, hour, date, day, month, quarter, and goto methods all return a new instance of Spacetime leaving original date instance unmutated. There is another situation where you may see a console.warn - if you give it a timezone, but then set a ISO-date string with a different offset, like 2017-04-03T08:00:00-0700 (-7hrs UTC offset). It sets the timezone to UTC-7, but also gives a warning.

MaterialDateTimePicker - Pick a date or time on Android in style


Material DateTime Picker tries to offer you the date and time pickers as shown in the Material Design spec, with an easy themable API. The library uses the code from the Android frameworks as a base and tweaked it to be as close as possible to Material Design example.Support for Android 4.0 and up.

bootstrap-daterangepicker - Date range picker component for Bootstrap


This date range picker component for Bootstrap creates a dropdown menu from which a user can select a range of dates. I created it while building the UI for Improvely, which needed a way to select date ranges for reports. Features include limiting the selectable date range, localizable strings and date formats, a single date picker mode, optional time picker (for e.g. making appointments or reservations), and styles that match the default Bootstrap 3 theme.

SwiftDate - The best way to manage Dates and Timezones in Swift


We really ♥ Swift and we think that dates and timezones management should be painless: this is the reason we made SwiftDate, probably the best way to manage date and time in Swift.

Date / Time Library for Dates since 1582


For each Date/Time since 1582-Oct-15 (start Gregorian Calendar): ++ add/sub daysamp;hh:mm:ss - considered all leap years; summer time DST ++ compute start/end of DST ++ compute UTC (Greenwich) to local/DST ++ weekdays ++ Excel compatible date value

Orchard Date Time Field Module


Orchard Date Time Field Module adds a new Date & Time editor to content type management.