From Claude-Data-Wrangler
Perform date/time format transformations on a dataset — converting between ISO 8601, epoch (seconds/millis), with-timezone, without-timezone, date-only, datetime, Unix timestamp, locale-specific display formats, and fiscal / Julian / week-number representations. Use when a dataset has dates in the wrong format for downstream use (API, SQL, ML pipeline) and needs enriching or refactoring.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin Claude-Data-WranglerThis skill uses the workspace's default tool permissions.
Transform date/time columns into the format required by the downstream consumer.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Share bugs, ideas, or general feedback.
Transform date/time columns into the format required by the downstream consumer.
| Source | Target | Notes |
|---|---|---|
| Any parseable date/datetime | ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM) | Default canonical form |
| Any | Epoch seconds (Unix timestamp) | Integer seconds since 1970-01-01 UTC |
| Any | Epoch milliseconds | Integer ms since epoch (JS / Java convention) |
| Any | Epoch microseconds / nanoseconds | For high-precision logging |
| Naive datetime | Timezone-aware | Require user to specify the assumed source TZ |
| Timezone-aware | UTC | Convert to UTC and keep offset, or strip offset |
| Timezone-aware | Naive (strip TZ) | Warn — lossy; confirm with user |
| Date + time split | Single datetime | Combine two columns into one |
| Single datetime | Date + time split | Produce two columns |
| Any | Locale display format (e.g. 01/02/2024 UK) | For human-facing outputs only; never store |
| Any | Fiscal year / quarter | Fiscal calendar start month user-configurable |
| Any | ISO week date (YYYY-Www-D) | Useful for weekly reporting |
| Any | Julian day / day-of-year | Scientific applications |
pandas.to_datetime with format=... (explicit is safer than inference).01/02/2024 — is it UK DD/MM/YYYY or US MM/DD/YYYY?) → never guess. Ask the user or consult the data dictionary.Europe/London, Asia/Jerusalem).<col>_iso8601, <col>_epoch_ms, <col>_utc), preserving the original by default. Offer overwrite only on explicit request; backup first per CONVENTIONS.md.year, month, day, week, day_of_week, is_weekend, is_holiday) via the data-enrichment skill's temporal options.pip install pandas python-dateutil
# optional
pip install pytz # legacy TZ database
# Python 3.9+ includes zoneinfo natively
02:30 on a spring-forward day doesn't exist; 02:30 on a fall-back day is ambiguous. Default to raising an error with the row indices; offer user policies (skip, pick first occurrence, pick second, shift).45678) and ask before treating them as Unix epoch.Date loses microseconds. Warn if source has sub-ms precision and target is JS-consumed.datetime64[ns] overflows at 2262-04-11. For dates beyond that range, use datetime64[us] or store as strings.This skill prefers to add new columns rather than mutate originals. When asked to overwrite, follow the backup policy in CONVENTIONS.md — confirm an existing backup or create one before writing.