Reference: Date Fields

From WebWatchBotWiki
Jump to: navigation, search
 Share 

Description

WebWatchBot has been designed to handle dates of various formats. WebWatchBot can parse text entered:


DATE SITUATIONS


MMDDYY or YYMMDD

Example: 091601, 010123

MMDDYYYY

Example: 09162001

"today" or "now"


"yesterday"


"day before yesterday"


"tomorrow"


"day after tomorrow"


"next week"

7 days from today

"last week"

7 days ago

"Christmas" or "xmas" or "x-mass" or "xmass" or "x mass"

December 25 of current year (if before 12-25) or 12-25 of next year otherwise.

"Christmas eve" or "xmas eve" or "x-mas eve" or "x-mass eve" or "xmass eve" or "x mass eve"

December 24 of current year (if before 12-24) or 12-24 of next year otherwise.

* Other holidays handled: New Years, New Years Eve, 4th of July, Easter, Good Friday, Ash Wednesday, Veterans Day, Memorial Day, Labor Day, Columbus Day, Thanksgiving, and Presidents day.


"last [Day of Week]"

Example: "Last Sunday" or "Last Tuesday", etc.

"next [Day of Week]"

Example: "Next Sunday" or "Next Tuesday", etc.

"[X] days ago"

Note: Also works for weeks, months and years

"[X] days from now"

Note: Also works for weeks, months and years

"[X] [Day of Week] in [Month]"

Example: "2nd Sunday in December", "1st Tuesday in January", etc.

"[X] days from [N]" or "[X days after [N]"

Example: "2 days from Christmas", "2 days from 12/01/2002".
Note: Also works for weeks, months and years.

"[X] days before [N]"

Example "2 days before Christmas", "2 days before 12/01/2001".
Note: Also works for weeks, months and years.

"IN [X] days"

Example: "in 12 days", "in 30 days", etc.
Note: Also works for weeks, months and years.

"[X] [Day of week] Ago"

Example: "2 Sundays ago", "4 Fridays ago"

"[X] [Day of Week] From Now"

Example: "2 Sundays from now", "4 Fridays from now"

Simple date arithmetic situations.

Example: "Christmas + 2 days", "New Years + 2 days", etc.
Example: "Haloween - 2 weeks", etc.



TIME SITUATIONS


"noon"

12:00 PM

"midnight"

12:00 AM

"XXX" or "XXXX"

Example: "430", "515", "1625", "0710", etc.

"X" or "XX"

Example: "6", "7", "11", etc.

"[X] O'clock"

Example: 6 o'clock
Note: Also works with "oclock" and "o clock"

"[X] minutes from now" or "[X] hours from now"

Example: "2 hours from now", "15 minutes from now", etc.

"[X] minutes ago" or "[X] hours ago"

Example: "2 hours ago", "15 minutes ago", etc.

"[X] minutes until [XXX]" or "[X] minutes till [XXX]" or "[X] till [XXX]" or "[X] until [XXX]"

Example: "15 minutes until noon", 20 minutes till 6", "10 minutes til 1300"

"[X] minutes past [XXX]" or "[X] minutes after [XXX]" or "[X] after [XXX]" or "[X] past [XXX]"

Example: "15 minutes after 6", "20 minutes past noon"

"Half past [XXX]"

Example: "Half past 6"