datetime-handling

Community

ISO 8601 date handling for SDTM.

Authorsiddharthchauhan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SDTM date variables must be ISO 8601 and stored as character strings. This skill provides robust date parsing, conversion, and handling for complete and partial dates, along with study day calculations and duration formatting to ensure SDTM compliance.

Core Features & Use Cases

  • Convert diverse date formats to ISO 8601 (YYYY-MM-DD) and preserve character type for all DTC variables.
  • Handle partial dates (year only, year-month) with clear imputation strategies and study-day calculations (--DY).
  • Compute SDTM durations using ISO 8601 formats and generate necessary ADaM documentation notes for imputation.

Quick Start

Example: Convert a sample birth date "1985-07-20" to BRTHDTC, compute the corresponding study day against RFSTDTC, and output an ISO 8601 duration for a 7-day window.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: datetime-handling
Download link: https://github.com/siddharthchauhan/ETL/archive/main.zip#datetime-handling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.