---
title: "date:parse — Parse date and time"
description: "iXML command date:parse: Parse date and time."
canonical_url: "https://www.zeyos.com/ixml/ref/date-parse"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/date-parse.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# date:parse — Parse date and time

DATE:PARSE returns the timestamp for a date by parsing a textual date and time value.

Timestamps are based on Unix time, defined as the number of seconds elapsed since midnight proleptic Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Result variable name |
| timezone | string | (system time zone) | Time zone |

### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- binding: var; type: n/a

### Examples

```xml
<output>
	<date:parse>2000-01-01</date:parse>
</output>

<!-- 946684800 -->
```
