core.formathl7datetime
Home > @medplum/core > formatHl7DateTime
formatHl7DateTime() function
Formats an ISO date/time string into an HL7 date/time string.
Signature:
export declare function formatHl7DateTime(isoDate: Date | string): string;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| isoDate | Date | string | The ISO date/time string. | 
Returns:
string
The HL7 date/time string.