Data & CSV
Extract CSV date parts
Add calendar fields from a strict ISO date column.
A clear answer. Here’s how.
Parses non-blank dates strictly as Gregorian YYYY-MM-DD in years 0001–9999, rejecting rollover dates. Adds year, month, day, English weekday, day of year and ISO week year/week (seven fields). Blank dates yield blank parts. Calendar arithmetic uses UTC so the device time zone does not shift dates; generated headings must be unique.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Your CSV data
ID,Name,Department,Amount,Date 001,Ada,Design,120,2026-01-05 002,Sam,Writing,80,2026-01-06 003,Jo,Design,150,2026-01-07 004,Lee,Writing,,2026-01-08 005,Alex,Design,60,2026-01-09
- Column separator
- Comma
- Date column (YYYY-MM-DD)
- Date
Example result
| ID | Name | Department | Amount | Date | Date.year | Date.month | Date.day | Date.weekday | Date.dayOfYear | Date.isoWeekYear | Date.isoWeek |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 001 | Ada | Design | 120 | 2026-01-05 | 2,026 | 1 | 5 | Monday | 5 | 2,026 | 2 |
| 002 | Sam | Writing | 80 | 2026-01-06 | 2,026 | 1 | 6 | Tuesday | 6 | 2,026 | 2 |
| 003 | Jo | Design | 150 | 2026-01-07 | 2,026 | 1 | 7 | Wednesday | 7 | 2,026 | 2 |
| 004 | Lee | Writing | 2026-01-08 | 2,026 | 1 | 8 | Thursday | 8 | 2,026 | 2 | |
| 005 | Alex | Design | 60 | 2026-01-09 | 2,026 | 1 | 9 | Friday | 9 | 2,026 | 2 |