1DateTime::Format::NaturUasle:r:LCaonngt:r:iEbNu(t3e)d PeDralteDToicmuem:e:nFtoartmiaotn::Natural::Lang::EN(3)
2
3
4
6 DateTime::Format::Natural::Lang::EN - English language metadata
7
9 "DateTime::Format::Natural::Lang::EN" provides the english specific
10 grammar and variables. This class is loaded if the user either
11 specifies the english language or implicitly.
12
14 Below are some examples of natural language date/time input in english
15 (be aware that the parser does usually not distinguish between
16 lower/upper case; furthermore, many expressions allow for additional
17 leading/trailing time and all times are also parsable with precision in
18 seconds):
19
20 Simple
21 now
22 yesterday
23 today
24 tomorrow
25 morning
26 afternoon
27 evening
28 noon
29 midnight
30 yesterday at noon
31 yesterday at midnight
32 today at noon
33 today at midnight
34 tomorrow at noon
35 tomorrow at midnight
36 this morning
37 this afternoon
38 this evening
39 yesterday morning
40 yesterday afternoon
41 yesterday evening
42 today morning
43 today afternoon
44 today evening
45 tomorrow morning
46 tomorrow afternoon
47 tomorrow evening
48 thursday morning
49 thursday afternoon
50 thursday evening
51 6:00 yesterday
52 6:00 today
53 6:00 tomorrow
54 5am yesterday
55 5am today
56 5am tomorrow
57 4pm yesterday
58 4pm today
59 4pm tomorrow
60 last second
61 this second
62 next second
63 last minute
64 this minute
65 next minute
66 last hour
67 this hour
68 next hour
69 last day
70 this day
71 next day
72 last week
73 this week
74 next week
75 last month
76 this month
77 next month
78 last year
79 this year
80 next year
81 last friday
82 this friday
83 next friday
84 tuesday last week
85 tuesday this week
86 tuesday next week
87 last week wednesday
88 this week wednesday
89 next week wednesday
90 10 seconds ago
91 10 minutes ago
92 10 hours ago
93 10 days ago
94 10 weeks ago
95 10 months ago
96 10 years ago
97 in 5 seconds
98 in 5 minutes
99 in 5 hours
100 in 5 days
101 in 5 weeks
102 in 5 months
103 in 5 years
104 saturday
105 sunday 11:00
106 yesterday at 4:00
107 today at 4:00
108 tomorrow at 4:00
109 yesterday at 6:45am
110 today at 6:45am
111 tomorrow at 6:45am
112 yesterday at 6:45pm
113 today at 6:45pm
114 tomorrow at 6:45pm
115 yesterday at 2:32 AM
116 today at 2:32 AM
117 tomorrow at 2:32 AM
118 yesterday at 2:32 PM
119 today at 2:32 PM
120 tomorrow at 2:32 PM
121 yesterday 02:32
122 today 02:32
123 tomorrow 02:32
124 yesterday 2:32am
125 today 2:32am
126 tomorrow 2:32am
127 yesterday 2:32pm
128 today 2:32pm
129 tomorrow 2:32pm
130 wednesday at 14:30
131 wednesday at 02:30am
132 wednesday at 02:30pm
133 wednesday 14:30
134 wednesday 02:30am
135 wednesday 02:30pm
136 friday 03:00 am
137 friday 03:00 pm
138 sunday at 05:00 am
139 sunday at 05:00 pm
140 2nd monday
141 100th day
142 4th february
143 november 3rd
144 last june
145 next october
146 6 am
147 5am
148 5:30am
149 8 pm
150 4pm
151 4:20pm
152 06:56:06 am
153 06:56:06 pm
154 mon 2:35
155 1:00 sun
156 1am sun
157 1pm sun
158 1:00 on sun
159 1am on sun
160 1pm on sun
161 12:14 PM
162 12:14 AM
163
164 Complex
165 yesterday 7 seconds ago
166 yesterday 7 minutes ago
167 yesterday 7 hours ago
168 yesterday 7 days ago
169 yesterday 7 weeks ago
170 yesterday 7 months ago
171 yesterday 7 years ago
172 today 5 seconds ago
173 today 5 minutes ago
174 today 5 hours ago
175 today 5 days ago
176 today 5 weeks ago
177 today 5 months ago
178 today 5 years ago
179 tomorrow 3 seconds ago
180 tomorrow 3 minutes ago
181 tomorrow 3 hours ago
182 tomorrow 3 days ago
183 tomorrow 3 weeks ago
184 tomorrow 3 months ago
185 tomorrow 3 years ago
186 2 seconds before now
187 2 minutes before now
188 2 hours before now
189 2 days before now
190 2 weeks before now
191 2 months before now
192 2 years before now
193 4 seconds from now
194 4 minutes from now
195 4 hours from now
196 4 days from now
197 4 weeks from now
198 4 months from now
199 4 years from now
200 6 in the morning
201 4 in the afternoon
202 9 in the evening
203 monday 6 in the morning
204 monday 4 in the afternoon
205 monday 9 in the evening
206 last sunday at 21:45
207 monday last week
208 6th day last week
209 6th day this week
210 6th day next week
211 12th day last month
212 12th day this month
213 12th day next month
214 1st day last year
215 1st day this year
216 1st day next year
217 1st tuesday last november
218 1st tuesday this november
219 1st tuesday next november
220 11 january next year
221 11 january this year
222 11 january last year
223 6 hours before yesterday
224 6 hours before tomorrow
225 3 hours after yesterday
226 3 hours after tomorrow
227 10 hours before noon
228 10 hours before midnight
229 5 hours after noon
230 5 hours after midnight
231 noon last friday
232 midnight last friday
233 noon this friday
234 midnight this friday
235 noon next friday
236 midnight next friday
237 last friday at 20:00
238 this friday at 20:00
239 next friday at 20:00
240 1:00 last friday
241 1:00 this friday
242 1:00 next friday
243 1am last friday
244 1am this friday
245 1am next friday
246 1pm last friday
247 1pm this friday
248 1pm next friday
249 5 am last monday
250 5 am this monday
251 5 am next monday
252 5 pm last monday
253 5 pm this monday
254 5 pm next monday
255 last wednesday 7am
256 this wednesday 7am
257 next wednesday 7am
258 last wednesday 7pm
259 this wednesday 7pm
260 next wednesday 7pm
261 last tuesday 11 am
262 this tuesday 11 am
263 next tuesday 11 am
264 last tuesday 11 pm
265 this tuesday 11 pm
266 next tuesday 11 pm
267 yesterday at 13:00
268 today at 13:00
269 tomorrow at 13
270 2nd friday in august
271 3rd wednesday in november
272 tomorrow 1 year ago
273 saturday 3 months ago at 17:00
274 saturday 3 months ago at 5:00am
275 saturday 3 months ago at 5:00pm
276 11 january 2 years ago
277 4th day last week
278 8th month last year
279 8th month this year
280 8th month next year
281 6 mondays from now
282 fri 3 months ago at 5am
283 wednesday 1 month ago at 8pm
284 final thursday in april
285 last thursday in april
286 beginning of last month
287 end of last month
288
289 Timespans
290 monday to friday
291 1 April to 31 August
292 1999-12-31 to tomorrow
293 now to 2010-01-01
294 2009-03-10 9:00 to 11:00
295 26 oct 10:00 am to 11:00 am
296 jan 1 to 2
297 16:00 nov 6 to 17:00
298 may 2nd to 5th
299 100th day to 200th
300 6am dec 5 to 7am
301 30th to 31st dec
302 30th to dec 31st
303 21:00 to mar 3 22:00
304 21:00 to 22:00 mar 3
305 10th to 20th day
306 1/3 to 2/3
307 2/3 to in 1 week
308 3/3 21:00 to in 5 days
309 first day of 2009 to last day of 2009
310 first day of may to last day of may
311 first to last day of 2008
312 first to last day of september
313 for 4 seconds
314 for 4 minutes
315 for 4 hours
316 for 4 days
317 for 4 weeks
318 for 4 months
319 for 4 years
320
321 Specific
322 march
323 january 11
324 11 january
325 18 oct 17:00
326 18 oct 5am
327 18 oct 5pm
328 18 oct 5 am
329 18 oct 5 pm
330 dec 25
331 feb 28 3:00
332 feb 28 3am
333 feb 28 3pm
334 feb 28 3 am
335 feb 28 3 pm
336 19:00 jul 1
337 7am jul 1
338 7pm jul 1
339 7 am jul 1
340 7 pm jul 1
341 jan 24, 2011 12:00
342 jan 24, 2011 12am
343 jan 24, 2011 12pm
344 may 27th
345 2005
346 march 1st 2009
347 October 2006
348 february 14, 2004
349 jan 3 2010
350 3 jan 2000
351 2010 october 28
352 2011-jan-04
353 27/5/1979
354 1/3
355 1/3 16:00
356 4:00
357 17:00
358 3:20:00
359 -5min
360 +2d
361 20111018000000
362 2016-06-19T12:12:11
363
364 Aliases
365 5 mins ago
366 yesterday @ noon
367 tues this week
368 final thurs in sep
369 tues
370 thurs
371 thur
372
374 DateTime::Format::Natural
375
377 Steven Schubiger <schubiger@cpan.org>
378
380 This program is free software; you may redistribute it and/or modify it
381 under the same terms as Perl itself.
382
383 See <http://dev.perl.org/licenses/>
384
385
386
387perl v5.28.0 2018-10D-a2t9eTime::Format::Natural::Lang::EN(3)