% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nm_helpers.R
\name{parse_dtc}
\alias{parse_dtc}
\title{Parse SDTM-Style DTC Strings into POSIXct}
\usage{
parse_dtc(x, tz = "UTC")
}
\arguments{
\item{x}{character vector (or POSIXct/Date) of datetime values.}

\item{tz}{time zone. Default "UTC".}
}
\value{
POSIXct vector.
}
\description{
Parse SDTM-style datetime strings into POSIXct.
Accepts "YYYY-MM-DDTHH:MM:SS", "YYYY-MM-DDTHH:MM",
"YYYY-MM-DD HH:MM:SS", "YYYY-MM-DD HH:MM", or "YYYY-MM-DD".
POSIXct / Date inputs are returned coerced to POSIXct.
}
