---
title: "fillSign.setDateFormat: Date format for Fill & Sign — PDF kit command — Kition"
description: "Preferences ▸ Date format: the pattern Fill & Sign dates use (default m/d/yyyy). Set it with `format` (date codes yyyy yy mmmm mmm mm m dddd ddd dd d, other runs of y, m or d are refused; H h M s t are time letters and need \\ before them; \\ shows the next character as is), or read it. `language` sets the language of month and weekday names (a code from `languages`, or `auto` to follow the app's interface language; English headless). Returns the format, the language, today in them, `unwritable` (characters of today's date that Fill & Sign can't write into a PDF yet, Western European only; fillSign.add refuses such a date), the ready-made presets and the languages."
canonical: "https://developer.kition.ai/docs/kits/pdf/commands/fillSign.setDateFormat"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/pdf/commands/fillSign.setDateFormat](https://developer.kition.ai/docs/kits/pdf/commands/fillSign.setDateFormat)

# fillSign.setDateFormat

**Date format for Fill & Sign.** Preferences ▸ Date format: the pattern Fill & Sign dates use (default m/d/yyyy). Set it with `format` (date codes yyyy yy mmmm mmm mm m dddd ddd dd d, other runs of y, m or d are refused; H h M s t are time letters and need \ before them; \ shows the next character as is), or read it. `language` sets the language of month and weekday names (a code from `languages`, or `auto` to follow the app's interface language; English headless). Returns the format, the language, today in them, `unwritable` (characters of today's date that Fill & Sign can't write into a PDF yet, Western European only; fillSign.add refuses such a date), the ready-made presets and the languages.

- Kit: PDF 0.1.0 (.pdf); reference: [PDF kit commands](https://developer.kition.ai/docs/kits/pdf.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `format` | `string` | no | (maxLength 64, minLength 1) |
| `language` | `string` | no |  |

## Call through pdf_run

```text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "fillSign.setDateFormat" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `format`, `language`. pdf_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "format": {
      "description": "(maxLength 64, minLength 1)",
      "type": "string"
    },
    "language": {
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0 and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725).
