v3.0.0

Date

Extract date-like strings (from NLP analysis).

App usage

Example


# INPUT TEXT
// Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats
Example HTML date and time strings
String Date and/or time
2005-06-07 June 7, 2005 
08:45 8:45 AM 
08:45:25 8:45 AM and 25 seconds 
0033-08-04T03:40 3:40 AM on August 4, 33 
1977-04-01T14:00:30 30 seconds after 2:00 PM on April 1, 1977 
1901-01-01T00:00Z Midnight UTC on January 1, 1901 
1901-01-01T00:00:01-04:00 1 second past midnight Eastern Standard Time (EST) on January 1, 1901 



# RESULT
[
  "0033-08-04T03:40 3:40 AM on August 4, 33",
  "08:45:25 8:45 AM and 25 seconds",
  "1901-01-01T00:00:01-04:00 1",
  "1901-01-01T00:00Z Midnight UTC on January 1, 1901",
  "1977-04-01T14:00:30 30 seconds after 2:00 PM on April 1, 1977",
  "2005-06-07 June 7, 2005",
  "8:45 AM",
  "past midnight Eastern Standard Time (EST) on January 1, 1901"
]

API usage

You can find all required parameters and multi-language examples on our RapidAPI page.