# X12DateTimeFormat

Industry: Intermodal

The X12 data element 1250 values that state a date and a time with no offset: a local time at a place the value does not name. Release 005010, read from [Stedi's X12-licensed dictionary](https://www.stedi.com/edi/x12-005010/element/1250); the X12 text itself was not reached.

```ts
import type { X12DateTimeFormat } from "@northguild/gmt";
```

## Definition

```ts
type X12DateTimeFormat = "DT" | "RTS";
```

## Used by

- [`classifyX12DateTimePeriodFormat`](/gmt/reference/intermodal/parse/classifyX12DateTimePeriodFormat/)
- [`formatX12DateTime`](/gmt/reference/intermodal/format/formatX12DateTime/)
- [`isValidX12DateTime`](/gmt/reference/intermodal/validate/isValidX12DateTime/)
- [`isValidX12DateTimePeriodFormat`](/gmt/reference/intermodal/validate/isValidX12DateTimePeriodFormat/)
- [`parseX12DateTime`](/gmt/reference/intermodal/parse/parseX12DateTime/)

## Source

[types/edi.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/edi.ts)
