1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
|
# French (fr-CH) locale
## `format` and `parse`
| Title | Token string | Date | `format` result | `parse` result |
| ------------------------------- | ------------ | ------------------------ | --------------------------------------------- | ------------------------ |
| Calendar year | yo | 1987-02-11T12:13:14.015Z | 1987ème | 1987-01-01T00:00:00.000Z |
| | | 0005-01-01T12:13:14.015Z | 5ème | 0005-01-01T00:00:00.000Z |
| Local week-numbering year | Yo | 1987-02-11T12:13:14.015Z | 1987ème | 1986-12-29T00:00:00.000Z |
| | | 0005-01-01T12:13:14.015Z | 4ème | 0003-12-29T00:00:00.000Z |
| Quarter (formatting) | Qo | 2019-01-01T12:13:14.015Z | 1er | 2019-01-01T00:00:00.000Z |
| | | 2019-04-01T12:13:14.015Z | 2ème | 2019-04-01T00:00:00.000Z |
| | QQQ | 2019-01-01T12:13:14.015Z | 1er trim. | Invalid Date |
| | | 2019-04-01T12:13:14.015Z | 2ème trim. | Invalid Date |
| | QQQQ | 2019-01-01T12:13:14.015Z | 1er trimestre | 2019-01-01T00:00:00.000Z |
| | | 2019-04-01T12:13:14.015Z | 2ème trimestre | 2019-04-01T00:00:00.000Z |
| | QQQQQ | 2019-01-01T12:13:14.015Z | T1 | Invalid Date |
| | | 2019-04-01T12:13:14.015Z | T2 | Invalid Date |
| Quarter (stand-alone) | qo | 2019-01-01T12:13:14.015Z | 1er | 2019-01-01T00:00:00.000Z |
| | | 2019-04-01T12:13:14.015Z | 2ème | 2019-04-01T00:00:00.000Z |
| | qqq | 2019-01-01T12:13:14.015Z | 1er trim. | Invalid Date |
| | | 2019-04-01T12:13:14.015Z | 2ème trim. | Invalid Date |
| | qqqq | 2019-01-01T12:13:14.015Z | 1er trimestre | 2019-01-01T00:00:00.000Z |
| | | 2019-04-01T12:13:14.015Z | 2ème trimestre | 2019-04-01T00:00:00.000Z |
| Month (formatting) | Mo | 2019-02-11T12:13:14.015Z | 2ème | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | 7ème | 2019-07-01T00:00:00.000Z |
| | MMM | 2019-02-11T12:13:14.015Z | févr. | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | juil. | 2019-07-01T00:00:00.000Z |
| | MMMM | 2019-02-11T12:13:14.015Z | février | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | juillet | 2019-07-01T00:00:00.000Z |
| | MMMMM | 2019-02-11T12:13:14.015Z | F | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | J | 2019-01-01T00:00:00.000Z |
| Month (stand-alone) | Lo | 2019-02-11T12:13:14.015Z | 2ème | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | 7ème | 2019-07-01T00:00:00.000Z |
| | LLL | 2019-02-11T12:13:14.015Z | févr. | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | juil. | 2019-07-01T00:00:00.000Z |
| | LLLL | 2019-02-11T12:13:14.015Z | février | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | juillet | 2019-07-01T00:00:00.000Z |
| | LLLLL | 2019-02-11T12:13:14.015Z | F | 2019-02-01T00:00:00.000Z |
| | | 2019-07-10T12:13:14.015Z | J | 2019-01-01T00:00:00.000Z |
| Local week of year | wo | 2019-01-01T12:13:14.015Z | 1ère | 2018-12-31T00:00:00.000Z |
| | | 2019-12-01T12:13:14.015Z | 48ème | 2019-11-25T00:00:00.000Z |
| ISO week of year | Io | 2019-01-01T12:13:14.015Z | 1ère | 2018-12-31T00:00:00.000Z |
| | | 2019-12-01T12:13:14.015Z | 48ème | 2019-11-25T00:00:00.000Z |
| Day of month | do | 2019-02-11T12:13:14.015Z | 11ème | 2019-02-11T00:00:00.000Z |
| | | 2019-02-28T12:13:14.015Z | 28ème | 2019-02-28T00:00:00.000Z |
| Day of year | Do | 2019-02-11T12:13:14.015Z | 42ème | 2019-02-11T00:00:00.000Z |
| | | 2019-12-31T12:13:14.015Z | 365ème | 2019-12-31T00:00:00.000Z |
| Day of week (formatting) | E | 2019-02-11T12:13:14.015Z | lun. | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ven. | 2019-02-15T00:00:00.000Z |
| | EE | 2019-02-11T12:13:14.015Z | lun. | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ven. | 2019-02-15T00:00:00.000Z |
| | EEE | 2019-02-11T12:13:14.015Z | lun. | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ven. | 2019-02-15T00:00:00.000Z |
| | EEEE | 2019-02-11T12:13:14.015Z | lundi | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | vendredi | 2019-02-15T00:00:00.000Z |
| | EEEEE | 2019-02-11T12:13:14.015Z | L | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | V | 2019-02-15T00:00:00.000Z |
| | EEEEEE | 2019-02-11T12:13:14.015Z | lu | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ve | 2019-02-15T00:00:00.000Z |
| ISO day of week (formatting) | io | 2019-02-11T12:13:14.015Z | 1er | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | 5ème | 2019-02-15T00:00:00.000Z |
| | iii | 2019-02-11T12:13:14.015Z | lun. | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ven. | 2019-02-15T00:00:00.000Z |
| | iiii | 2019-02-11T12:13:14.015Z | lundi | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | vendredi | 2019-02-15T00:00:00.000Z |
| | iiiii | 2019-02-11T12:13:14.015Z | L | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | V | 2019-02-15T00:00:00.000Z |
| | iiiiii | 2019-02-11T12:13:14.015Z | lu | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ve | 2019-02-15T00:00:00.000Z |
| Local day of week (formatting) | eo | 2019-02-11T12:13:14.015Z | 1er | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | 5ème | 2019-02-15T00:00:00.000Z |
| | eee | 2019-02-11T12:13:14.015Z | lun. | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ven. | 2019-02-15T00:00:00.000Z |
| | eeee | 2019-02-11T12:13:14.015Z | lundi | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | vendredi | 2019-02-15T00:00:00.000Z |
| | eeeee | 2019-02-11T12:13:14.015Z | L | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | V | 2019-02-15T00:00:00.000Z |
| | eeeeee | 2019-02-11T12:13:14.015Z | lu | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ve | 2019-02-15T00:00:00.000Z |
| Local day of week (stand-alone) | co | 2019-02-11T12:13:14.015Z | 1er | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | 5ème | 2019-02-15T00:00:00.000Z |
| | ccc | 2019-02-11T12:13:14.015Z | lun. | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ven. | 2019-02-15T00:00:00.000Z |
| | cccc | 2019-02-11T12:13:14.015Z | lundi | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | vendredi | 2019-02-15T00:00:00.000Z |
| | ccccc | 2019-02-11T12:13:14.015Z | L | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | V | 2019-02-15T00:00:00.000Z |
| | cccccc | 2019-02-11T12:13:14.015Z | lu | 2019-02-11T00:00:00.000Z |
| | | 2019-02-15T12:13:14.015Z | ve | 2019-02-15T00:00:00.000Z |
| AM, PM | a | 2019-02-11T11:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | aa | 2019-02-11T11:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | aaa | 2019-02-11T11:13:14.015Z | am | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | pm | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | pm | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | am | 2019-02-11T00:00:00.000Z |
| | aaaa | 2019-02-11T11:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | aaaaa | 2019-02-11T11:13:14.015Z | AM | Invalid Date |
| | | 2019-02-11T14:13:14.015Z | PM | Invalid Date |
| | | 2019-02-11T19:13:14.015Z | PM | Invalid Date |
| | | 2019-02-11T02:13:14.015Z | AM | Invalid Date |
| AM, PM, noon, midnight | b | 2019-02-11T11:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | bb | 2019-02-11T11:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | bbb | 2019-02-11T11:13:14.015Z | am | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | pm | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | pm | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | am | 2019-02-11T00:00:00.000Z |
| | bbbb | 2019-02-11T11:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T19:13:14.015Z | PM | 2019-02-11T12:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | AM | 2019-02-11T00:00:00.000Z |
| | bbbbb | 2019-02-11T11:13:14.015Z | AM | Invalid Date |
| | | 2019-02-11T14:13:14.015Z | PM | Invalid Date |
| | | 2019-02-11T19:13:14.015Z | PM | Invalid Date |
| | | 2019-02-11T02:13:14.015Z | AM | Invalid Date |
| Flexible day period | B | 2019-02-11T11:13:14.015Z | matin | Invalid Date |
| | | 2019-02-11T14:13:14.015Z | après-midi | Invalid Date |
| | | 2019-02-11T19:13:14.015Z | soir | 2019-02-11T17:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | matin | Invalid Date |
| | BB | 2019-02-11T11:13:14.015Z | matin | Invalid Date |
| | | 2019-02-11T14:13:14.015Z | après-midi | Invalid Date |
| | | 2019-02-11T19:13:14.015Z | soir | 2019-02-11T17:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | matin | Invalid Date |
| | BBB | 2019-02-11T11:13:14.015Z | matin | Invalid Date |
| | | 2019-02-11T14:13:14.015Z | après-midi | Invalid Date |
| | | 2019-02-11T19:13:14.015Z | soir | 2019-02-11T17:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | matin | Invalid Date |
| | BBBB | 2019-02-11T11:13:14.015Z | du matin | 2019-02-11T04:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | de l’après-midi | Invalid Date |
| | | 2019-02-11T19:13:14.015Z | du soir | 2019-02-11T17:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | du matin | 2019-02-11T04:00:00.000Z |
| | BBBBB | 2019-02-11T11:13:14.015Z | mat. | 2019-02-11T04:00:00.000Z |
| | | 2019-02-11T14:13:14.015Z | ap.m. | Invalid Date |
| | | 2019-02-11T19:13:14.015Z | soir | 2019-02-11T17:00:00.000Z |
| | | 2019-02-11T02:13:14.015Z | mat. | 2019-02-11T04:00:00.000Z |
| Hour [1-12] | ho | 2019-02-11T11:13:14.015Z | 11ème | 2019-02-11T11:00:00.000Z |
| | | 2019-02-11T23:13:14.015Z | 11ème | 2019-02-11T23:00:00.000Z |
| Hour [0-23] | Ho | 2019-02-11T11:13:14.015Z | 11ème | 2019-02-11T11:00:00.000Z |
| | | 2019-02-11T23:13:14.015Z | 23ème | 2019-02-11T23:00:00.000Z |
| Hour [0-11] | Ko | 2019-02-11T11:13:14.015Z | 11ème | 2019-02-11T11:00:00.000Z |
| | | 2019-02-11T23:13:14.015Z | 11ème | 2019-02-11T23:00:00.000Z |
| Hour [1-24] | ko | 2019-02-11T11:13:14.015Z | 11ème | 2019-02-11T11:00:00.000Z |
| | | 2019-02-11T23:13:14.015Z | 23ème | 2019-02-11T23:00:00.000Z |
| Minute | mo | 2019-01-01T12:01:14.015Z | 1er | 2019-01-01T12:01:00.000Z |
| | | 2019-04-01T12:55:14.015Z | 55ème | 2019-04-01T12:55:00.000Z |
| Second | so | 2019-01-01T12:13:01.015Z | 1er | 2019-01-01T12:13:01.000Z |
| | | 2019-04-01T12:13:55.015Z | 55ème | 2019-04-01T12:13:55.000Z |
| Long localized date | P | 1987-02-11T12:13:14.015Z | 11.02.1987 | 1987-02-11T00:00:00.000Z |
| | | 1453-05-29T23:59:59.999Z | 29.05.1453 | 1453-05-29T00:00:00.000Z |
| | PP | 1987-02-11T12:13:14.015Z | 11 févr. 1987 | 1987-02-11T00:00:00.000Z |
| | | 1453-05-29T23:59:59.999Z | 29 mai 1453 | 1453-05-29T00:00:00.000Z |
| | PPP | 1987-02-11T12:13:14.015Z | 11 février 1987 | 1987-02-11T00:00:00.000Z |
| | | 1453-05-29T23:59:59.999Z | 29 mai 1453 | 1453-05-29T00:00:00.000Z |
| | PPPP | 1987-02-11T12:13:14.015Z | mercredi 11 février 1987 | 1987-02-11T00:00:00.000Z |
| | | 1453-05-29T23:59:59.999Z | dimanche 29 mai 1453 | 1453-05-29T00:00:00.000Z |
| Long localized time | p | 1987-02-11T12:13:14.015Z | 12:13 | 1987-02-11T12:13:00.000Z |
| | | 1453-05-29T23:59:59.999Z | 23:59 | 1453-05-29T23:59:00.000Z |
| | pp | 1987-02-11T12:13:14.015Z | 12:13:14 | 1987-02-11T12:13:14.000Z |
| | | 1453-05-29T23:59:59.999Z | 23:59:59 | 1453-05-29T23:59:59.000Z |
| | ppp | 1987-02-11T12:13:14.015Z | 12:13:14 GMT+0 | Errored |
| | | 1453-05-29T23:59:59.999Z | 23:59:59 GMT+0 | Errored |
| | pppp | 1987-02-11T12:13:14.015Z | 12:13:14 GMT+00:00 | Errored |
| | | 1453-05-29T23:59:59.999Z | 23:59:59 GMT+00:00 | Errored |
| Combination of date and time | Pp | 1987-02-11T12:13:14.015Z | 11.02.1987, 12:13 | 1987-02-11T12:13:00.000Z |
| | | 1453-05-29T23:59:59.999Z | 29.05.1453, 23:59 | 1453-05-29T23:59:00.000Z |
| | PPpp | 1987-02-11T12:13:14.015Z | 11 févr. 1987, 12:13:14 | 1987-02-11T12:13:14.000Z |
| | | 1453-05-29T23:59:59.999Z | 29 mai 1453, 23:59:59 | 1453-05-29T23:59:59.000Z |
| | PPPppp | 1987-02-11T12:13:14.015Z | 11 février 1987 à 12:13:14 GMT+0 | Errored |
| | | 1453-05-29T23:59:59.999Z | 29 mai 1453 à 23:59:59 GMT+0 | Errored |
| | PPPPpppp | 1987-02-11T12:13:14.015Z | mercredi 11 février 1987 à 12:13:14 GMT+00:00 | Errored |
| | | 1453-05-29T23:59:59.999Z | dimanche 29 mai 1453 à 23:59:59 GMT+00:00 | Errored |
## `formatDistance`
If now is January 1st, 2000, 00:00.
| Date | Result | `includeSeconds: true` | `addSuffix: true` |
| ------------------------ | ------------------ | ---------------------- | ------------------------- |
| 2006-01-01T00:00:00.000Z | environ 6 ans | environ 6 ans | dans environ 6 ans |
| 2005-01-01T00:00:00.000Z | environ 5 ans | environ 5 ans | dans environ 5 ans |
| 2004-01-01T00:00:00.000Z | environ 4 ans | environ 4 ans | dans environ 4 ans |
| 2003-01-01T00:00:00.000Z | environ 3 ans | environ 3 ans | dans environ 3 ans |
| 2002-01-01T00:00:00.000Z | environ 2 ans | environ 2 ans | dans environ 2 ans |
| 2001-06-01T00:00:00.000Z | plus d’un an | plus d’un an | dans plus d’un an |
| 2001-02-01T00:00:00.000Z | environ 1 an | environ 1 an | dans environ 1 an |
| 2001-01-01T00:00:00.000Z | environ 1 an | environ 1 an | dans environ 1 an |
| 2000-06-01T00:00:00.000Z | 5 mois | 5 mois | dans 5 mois |
| 2000-03-01T00:00:00.000Z | 2 mois | 2 mois | dans 2 mois |
| 2000-02-01T00:00:00.000Z | environ 1 mois | environ 1 mois | dans environ 1 mois |
| 2000-01-15T00:00:00.000Z | 14 jours | 14 jours | dans 14 jours |
| 2000-01-02T00:00:00.000Z | 1 jour | 1 jour | dans 1 jour |
| 2000-01-01T06:00:00.000Z | environ 6 heures | environ 6 heures | dans environ 6 heures |
| 2000-01-01T01:00:00.000Z | environ 1 heure | environ 1 heure | dans environ 1 heure |
| 2000-01-01T00:45:00.000Z | environ 1 heure | environ 1 heure | dans environ 1 heure |
| 2000-01-01T00:30:00.000Z | 30 minutes | 30 minutes | dans 30 minutes |
| 2000-01-01T00:15:00.000Z | 15 minutes | 15 minutes | dans 15 minutes |
| 2000-01-01T00:01:00.000Z | 1 minute | 1 minute | dans 1 minute |
| 2000-01-01T00:00:25.000Z | moins d’une minute | 30 secondes | dans moins d’une minute |
| 2000-01-01T00:00:15.000Z | moins d’une minute | moins de 20 secondes | dans moins d’une minute |
| 2000-01-01T00:00:05.000Z | moins d’une minute | moins de 10 secondes | dans moins d’une minute |
| 2000-01-01T00:00:00.000Z | moins d’une minute | moins de 5 secondes | il y a moins d’une minute |
| 1999-12-31T23:59:55.000Z | moins d’une minute | moins de 10 secondes | il y a moins d’une minute |
| 1999-12-31T23:59:45.000Z | moins d’une minute | moins de 20 secondes | il y a moins d’une minute |
| 1999-12-31T23:59:35.000Z | moins d’une minute | 30 secondes | il y a moins d’une minute |
| 1999-12-31T23:59:00.000Z | 1 minute | 1 minute | il y a 1 minute |
| 1999-12-31T23:45:00.000Z | 15 minutes | 15 minutes | il y a 15 minutes |
| 1999-12-31T23:30:00.000Z | 30 minutes | 30 minutes | il y a 30 minutes |
| 1999-12-31T23:15:00.000Z | environ 1 heure | environ 1 heure | il y a environ 1 heure |
| 1999-12-31T23:00:00.000Z | environ 1 heure | environ 1 heure | il y a environ 1 heure |
| 1999-12-31T18:00:00.000Z | environ 6 heures | environ 6 heures | il y a environ 6 heures |
| 1999-12-30T00:00:00.000Z | 2 jours | 2 jours | il y a 2 jours |
| 1999-12-15T00:00:00.000Z | 17 jours | 17 jours | il y a 17 jours |
| 1999-12-01T00:00:00.000Z | environ 1 mois | environ 1 mois | il y a environ 1 mois |
| 1999-11-01T00:00:00.000Z | 2 mois | 2 mois | il y a 2 mois |
| 1999-06-01T00:00:00.000Z | 7 mois | 7 mois | il y a 7 mois |
| 1999-01-01T00:00:00.000Z | environ 1 an | environ 1 an | il y a environ 1 an |
| 1998-12-01T00:00:00.000Z | environ 1 an | environ 1 an | il y a environ 1 an |
| 1998-06-01T00:00:00.000Z | plus d’un an | plus d’un an | il y a plus d’un an |
| 1998-01-01T00:00:00.000Z | environ 2 ans | environ 2 ans | il y a environ 2 ans |
| 1997-01-01T00:00:00.000Z | environ 3 ans | environ 3 ans | il y a environ 3 ans |
| 1996-01-01T00:00:00.000Z | environ 4 ans | environ 4 ans | il y a environ 4 ans |
| 1995-01-01T00:00:00.000Z | environ 5 ans | environ 5 ans | il y a environ 5 ans |
| 1994-01-01T00:00:00.000Z | environ 6 ans | environ 6 ans | il y a environ 6 ans |
## `formatDistanceStrict`
If now is January 1st, 2000, 00:00.
| Date | Result | `addSuffix: true` | With forced unit (i.e. `hour`) |
| ------------------------ | ----------- | ------------------ | ------------------------------ |
| 2006-01-01T00:00:00.000Z | 6 ans | dans 6 ans | 52608 heures |
| 2005-01-01T00:00:00.000Z | 5 ans | dans 5 ans | 43848 heures |
| 2004-01-01T00:00:00.000Z | 4 ans | dans 4 ans | 35064 heures |
| 2003-01-01T00:00:00.000Z | 3 ans | dans 3 ans | 26304 heures |
| 2002-01-01T00:00:00.000Z | 2 ans | dans 2 ans | 17544 heures |
| 2001-06-01T00:00:00.000Z | 1 an | dans 1 an | 12408 heures |
| 2001-02-01T00:00:00.000Z | 1 an | dans 1 an | 9528 heures |
| 2001-01-01T00:00:00.000Z | 1 an | dans 1 an | 8784 heures |
| 2000-06-01T00:00:00.000Z | 5 mois | dans 5 mois | 3648 heures |
| 2000-03-01T00:00:00.000Z | 2 mois | dans 2 mois | 1440 heures |
| 2000-02-01T00:00:00.000Z | 1 mois | dans 1 mois | 744 heures |
| 2000-01-15T00:00:00.000Z | 14 jours | dans 14 jours | 336 heures |
| 2000-01-02T00:00:00.000Z | 1 jour | dans 1 jour | 24 heures |
| 2000-01-01T06:00:00.000Z | 6 heures | dans 6 heures | 6 heures |
| 2000-01-01T01:00:00.000Z | 1 heure | dans 1 heure | 1 heure |
| 2000-01-01T00:45:00.000Z | 45 minutes | dans 45 minutes | 1 heure |
| 2000-01-01T00:30:00.000Z | 30 minutes | dans 30 minutes | 1 heure |
| 2000-01-01T00:15:00.000Z | 15 minutes | dans 15 minutes | 0 heures |
| 2000-01-01T00:01:00.000Z | 1 minute | dans 1 minute | 0 heures |
| 2000-01-01T00:00:25.000Z | 25 secondes | dans 25 secondes | 0 heures |
| 2000-01-01T00:00:15.000Z | 15 secondes | dans 15 secondes | 0 heures |
| 2000-01-01T00:00:05.000Z | 5 secondes | dans 5 secondes | 0 heures |
| 2000-01-01T00:00:00.000Z | 0 secondes | il y a 0 secondes | 0 heures |
| 1999-12-31T23:59:55.000Z | 5 secondes | il y a 5 secondes | 0 heures |
| 1999-12-31T23:59:45.000Z | 15 secondes | il y a 15 secondes | 0 heures |
| 1999-12-31T23:59:35.000Z | 25 secondes | il y a 25 secondes | 0 heures |
| 1999-12-31T23:59:00.000Z | 1 minute | il y a 1 minute | 0 heures |
| 1999-12-31T23:45:00.000Z | 15 minutes | il y a 15 minutes | 0 heures |
| 1999-12-31T23:30:00.000Z | 30 minutes | il y a 30 minutes | 1 heure |
| 1999-12-31T23:15:00.000Z | 45 minutes | il y a 45 minutes | 1 heure |
| 1999-12-31T23:00:00.000Z | 1 heure | il y a 1 heure | 1 heure |
| 1999-12-31T18:00:00.000Z | 6 heures | il y a 6 heures | 6 heures |
| 1999-12-30T00:00:00.000Z | 2 jours | il y a 2 jours | 48 heures |
| 1999-12-15T00:00:00.000Z | 17 jours | il y a 17 jours | 408 heures |
| 1999-12-01T00:00:00.000Z | 1 mois | il y a 1 mois | 744 heures |
| 1999-11-01T00:00:00.000Z | 2 mois | il y a 2 mois | 1464 heures |
| 1999-06-01T00:00:00.000Z | 7 mois | il y a 7 mois | 5136 heures |
| 1999-01-01T00:00:00.000Z | 1 an | il y a 1 an | 8760 heures |
| 1998-12-01T00:00:00.000Z | 1 an | il y a 1 an | 9504 heures |
| 1998-06-01T00:00:00.000Z | 2 ans | il y a 2 ans | 13896 heures |
| 1998-01-01T00:00:00.000Z | 2 ans | il y a 2 ans | 17520 heures |
| 1997-01-01T00:00:00.000Z | 3 ans | il y a 3 ans | 26280 heures |
| 1996-01-01T00:00:00.000Z | 4 ans | il y a 4 ans | 35064 heures |
| 1995-01-01T00:00:00.000Z | 5 ans | il y a 5 ans | 43824 heures |
| 1994-01-01T00:00:00.000Z | 6 ans | il y a 6 ans | 52584 heures |
## `formatRelative`
If now is January 1st, 2000, 00:00.
| Date | Result |
| ------------------------ | ------------------------------------- |
| 2000-01-10T00:00:00.000Z | 10.01.2000 |
| 2000-01-05T00:00:00.000Z | mercredi la semaine prochaine à 00:00 |
| 2000-01-02T00:00:00.000Z | demain à 00:00 |
| 2000-01-01T00:00:00.000Z | aujourd’hui à 00:00 |
| 1999-12-31T00:00:00.000Z | hier à 00:00 |
| 1999-12-27T00:00:00.000Z | lundi la semaine dernière à 00:00 |
| 1999-12-21T00:00:00.000Z | 21.12.1999 |
|