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 quarter
79 this quarter
80 next quarter
81 last year
82 this year
83 next year
84 last friday
85 this friday
86 next friday
87 tuesday last week
88 tuesday this week
89 tuesday next week
90 last week wednesday
91 this week wednesday
92 next week wednesday
93 10 seconds ago
94 10 minutes ago
95 10 hours ago
96 10 days ago
97 10 weeks ago
98 10 months ago
99 10 years ago
100 in 5 seconds
101 in 5 minutes
102 in 5 hours
103 in 5 days
104 in 5 weeks
105 in 5 months
106 in 5 years
107 saturday
108 sunday 11:00
109 yesterday at 4:00
110 today at 4:00
111 tomorrow at 4:00
112 yesterday at 6:45am
113 today at 6:45am
114 tomorrow at 6:45am
115 yesterday at 6:45pm
116 today at 6:45pm
117 tomorrow at 6:45pm
118 yesterday at 2:32 AM
119 today at 2:32 AM
120 tomorrow at 2:32 AM
121 yesterday at 2:32 PM
122 today at 2:32 PM
123 tomorrow at 2:32 PM
124 yesterday 02:32
125 today 02:32
126 tomorrow 02:32
127 yesterday 2:32am
128 today 2:32am
129 tomorrow 2:32am
130 yesterday 2:32pm
131 today 2:32pm
132 tomorrow 2:32pm
133 wednesday at 14:30
134 wednesday at 02:30am
135 wednesday at 02:30pm
136 wednesday 14:30
137 wednesday 02:30am
138 wednesday 02:30pm
139 friday 03:00 am
140 friday 03:00 pm
141 sunday at 05:00 am
142 sunday at 05:00 pm
143 2nd monday
144 100th day
145 4th february
146 november 3rd
147 last june
148 next october
149 6 am
150 5am
151 5:30am
152 8 pm
153 4pm
154 4:20pm
155 06:56:06 am
156 06:56:06 pm
157 mon 2:35
158 1:00 sun
159 1am sun
160 1pm sun
161 1:00 on sun
162 1am on sun
163 1pm on sun
164 12:14 PM
165 12:14 AM
166
167 Complex
168 yesterday 7 seconds ago
169 yesterday 7 minutes ago
170 yesterday 7 hours ago
171 yesterday 7 days ago
172 yesterday 7 weeks ago
173 yesterday 7 months ago
174 yesterday 7 years ago
175 today 5 seconds ago
176 today 5 minutes ago
177 today 5 hours ago
178 today 5 days ago
179 today 5 weeks ago
180 today 5 months ago
181 today 5 years ago
182 tomorrow 3 seconds ago
183 tomorrow 3 minutes ago
184 tomorrow 3 hours ago
185 tomorrow 3 days ago
186 tomorrow 3 weeks ago
187 tomorrow 3 months ago
188 tomorrow 3 years ago
189 2 seconds before now
190 2 minutes before now
191 2 hours before now
192 2 days before now
193 2 weeks before now
194 2 months before now
195 2 years before now
196 4 seconds from now
197 4 minutes from now
198 4 hours from now
199 4 days from now
200 4 weeks from now
201 4 months from now
202 4 years from now
203 6 in the morning
204 4 in the afternoon
205 9 in the evening
206 monday 6 in the morning
207 monday 4 in the afternoon
208 monday 9 in the evening
209 last sunday at 21:45
210 monday last week
211 6th day last week
212 6th day this week
213 6th day next week
214 12th day last month
215 12th day this month
216 12th day next month
217 1st day last year
218 1st day this year
219 1st day next year
220 1st tuesday last november
221 1st tuesday this november
222 1st tuesday next november
223 11 january next year
224 11 january this year
225 11 january last year
226 6 seconds before yesterday
227 6 minutes before yesterday
228 6 hours before yesterday
229 6 seconds before today
230 6 minutes before today
231 6 hours before today
232 6 seconds before tomorrow
233 6 minutes before tomorrow
234 6 hours before tomorrow
235 3 seconds after yesterday
236 3 minutes after yesterday
237 3 hours after yesterday
238 3 seconds after today
239 3 minutes after today
240 3 hours after today
241 3 seconds after tomorrow
242 3 minutes after tomorrow
243 3 hours after tomorrow
244 10 seconds before noon
245 10 minutes before noon
246 10 hours before noon
247 10 seconds before midnight
248 10 minutes before midnight
249 10 hours before midnight
250 5 seconds after noon
251 5 minutes after noon
252 5 hours after noon
253 5 seconds after midnight
254 5 minutes after midnight
255 5 hours after midnight
256 noon last friday
257 midnight last friday
258 noon this friday
259 midnight this friday
260 noon next friday
261 midnight next friday
262 last friday at 20:00
263 this friday at 20:00
264 next friday at 20:00
265 1:00 last friday
266 1:00 this friday
267 1:00 next friday
268 1am last friday
269 1am this friday
270 1am next friday
271 1pm last friday
272 1pm this friday
273 1pm next friday
274 5 am last monday
275 5 am this monday
276 5 am next monday
277 5 pm last monday
278 5 pm this monday
279 5 pm next monday
280 last wednesday 7am
281 this wednesday 7am
282 next wednesday 7am
283 last wednesday 7pm
284 this wednesday 7pm
285 next wednesday 7pm
286 last tuesday 11 am
287 this tuesday 11 am
288 next tuesday 11 am
289 last tuesday 11 pm
290 this tuesday 11 pm
291 next tuesday 11 pm
292 yesterday at 13:00
293 today at 13:00
294 tomorrow at 13
295 2nd friday in august
296 3rd wednesday in november
297 tomorrow 1 year ago
298 saturday 3 months ago at 17:00
299 saturday 3 months ago at 5:00am
300 saturday 3 months ago at 5:00pm
301 11 january 2 years ago
302 4th day last week
303 8th month last year
304 8th month this year
305 8th month next year
306 6 mondays from now
307 fri 3 months ago at 5am
308 wednesday 1 month ago at 8pm
309 final thursday in april
310 last thursday in april
311 beginning of last month
312 end of last month
313
314 Timespans
315 monday to friday
316 1 April to 31 August
317 1999-12-31 to tomorrow
318 now to 2010-01-01
319 2009-03-10 9:00 to 11:00
320 26 oct 10:00 am to 11:00 am
321 jan 1 to 2
322 16:00 nov 6 to 17:00
323 may 2nd to 5th
324 100th day to 200th
325 6am dec 5 to 7am
326 30th to 31st dec
327 30th to dec 31st
328 21:00 to mar 3 22:00
329 21:00 to 22:00 mar 3
330 10th to 20th day
331 1/3 to 2/3
332 2/3 to in 1 week
333 3/3 21:00 to in 5 days
334 first day of 2009 to last day of 2009
335 first day of may to last day of may
336 first to last day of 2008
337 first to last day of september
338 for 4 seconds
339 for 4 minutes
340 for 4 hours
341 for 4 days
342 for 4 weeks
343 for 4 months
344 for 4 years
345
346 Specific
347 march
348 january 11
349 11 january
350 18 oct 17:00
351 18 oct 5am
352 18 oct 5pm
353 18 oct 5 am
354 18 oct 5 pm
355 dec 25
356 feb 28 3:00
357 feb 28 3am
358 feb 28 3pm
359 feb 28 3 am
360 feb 28 3 pm
361 19:00 jul 1
362 7am jul 1
363 7pm jul 1
364 7 am jul 1
365 7 pm jul 1
366 jan 24, 2011 12:00
367 jan 24, 2011 12am
368 jan 24, 2011 12pm
369 may 27th
370 2005
371 march 1st 2009
372 October 2006
373 february 14, 2004
374 jan 3 2010
375 3 jan 2000
376 2010 october 28
377 2011-jan-04
378 27/5/1979
379 1/3
380 1/3 16:00
381 3/1
382 3/1 16:00
383 4:00
384 17:00
385 3:20:00
386 -5min
387 +2d
388 20111018000000
389 2016-06-19T12:12:11
390
391 Aliases
392 1 sec ago
393 10 secs ago
394 1 min ago
395 5 mins ago
396 1 hr ago
397 3 hrs ago
398 1 yr ago
399 7 yrs ago
400 yesterday @ noon
401 tues this week
402 final thurs in sep
403 tues
404 thurs
405 thur
406
408 DateTime::Format::Natural
409
411 Steven Schubiger <schubiger@cpan.org>
412
414 This program is free software; you may redistribute it and/or modify it
415 under the same terms as Perl itself.
416
417 See <http://dev.perl.org/licenses/>
418
419
420
421perl v5.32.1 2021-03D-a2t2eTime::Format::Natural::Lang::EN(3)