formatDateTime
formatDateTime(
date,offsetMinutes):string
Defined in: src/format.ts:130
Formats FechaHoraHusoGenRegistro as YYYY-MM-DDThh:mm:ss±hh:mm.
Always a numeric offset, never Z; always whole seconds. Both are policy
choices — the schema permits the alternatives, no AEAT example uses them,
and the hash is over the literal, so the form must be fixed once.
Parameters
Section titled “Parameters”Date
offsetMinutes
Section titled “offsetMinutes”number
Returns
Section titled “Returns”string