Given a date string in most common formats, return a start_date and end_date in ISO 8601 format, suitable for /events/new. Uses the current date to make assumptions about relative dates.
For example, the where string "Feb 15 8pm-10pm", submitted in January 2007, would resolve to a start_date of "2007-02-15T20:00:00" and an end_date of "2007-02-15T22:00:00". Dates without times are assumed to be all-day events, so "February 27th" would resolve to a start_date of "2007-02-27T00:00:00" with the all_day flag set to 1.
http://api.evdb.com/rest/events/dates/resolve?app_key=test_key&when=Feb+15+8pm-10pm
<?xml version="1.0" encoding="UTF-8"?> <response> <status>ok</status> <original>Feb 15 8pm-10pm</original> <date_used>Feb 15, 8pm - 10pm</date_used> <start_date>2007-02-15T20:00:00</start_date> <end_date>2007-02-15T22:00:00</end_date> <all_day>0</all_day> </response>
<?xml version="1.0" encoding="UTF-8"?> <response> <status>fail</status> <original>Femberary Twenth</original> <date_used></date_used> <start_date></start_date> <end_date></end_date> <all_day>0</all_day> </response>