# Windows Filetime to UNIX Timestamp

Converts a Windows Filetime value to a UNIX timestamp. A Windows Filetime is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 UTC. Windows Filetime to UNIX Timestamp lives in the **Date & Time** category of the `fx` menu.

## Parameters

| Parameter    | Type   | Required | Default       | Description                                                                                 |
| ------------ | ------ | -------- | ------------- | ------------------------------------------------------------------------------------------- |
| Input        | string | yes      | —             | Value to transform. Previous step output or a literal.                                      |
| Output units | string | no       | `Seconds (s)` | Choose one of: `Seconds (s)`, `Milliseconds (ms)`, `Microseconds (μs)`, `Nanoseconds (ns)`. |
| Input format | string | no       | `Decimal`     | Choose one of: `Decimal`, `Hex (big endian)`, `Hex (little endian)`.                        |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                                      |
| -------- | ---------------------------------------------------------------- |
| `string` | Result of the Windows Filetime to UNIX Timestamp transformation. |

## Example

<details>
<summary>Run Windows Filetime to UNIX Timestamp</summary>

Converts a Windows Filetime value to a UNIX timestamp. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Review **Output units**, **Input format** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** shows the transformed result.

</details>
