---
url: /typescript-api/type-aliases/DateInterpretation.md
---
[@sheetkit/node](../globals.md) / DateInterpretation

# Type Alias: DateInterpretation

> **DateInterpretation** = `"cellType"` | `"numFmt"`

Defined in: [packages/sheetkit/index.ts:175](https://github.com/Nebu1eto/sheetkit/blob/aedd8c0c4ec37185210740b875ec6bb714d323d4/packages/sheetkit/index.ts#L175)

Controls how date-formatted number cells are interpreted while reading.

* "numFmt" (default): promote `t="n"` (or untyped) cells whose style
  points at a built-in date format ID (14-22, 45-47) or a custom format
  code containing date/time tokens to a date cell. Matches how Microsoft
  Excel stores dates in practice.
* "cellType": follow the cell's `t` attribute strictly. A `t="n"` cell
  remains a number even when its style references a date number format;
  only `t="d"` cells are returned as dates. Opt in when you need
  spec-literal behavior.
