> For the complete documentation index, see [llms.txt](https://documentation.soulver.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.soulver.app/ja/rifarensu/dates/timestamps-and-iso8601.md).

# タイムスタンプとISO8601

### **ISO8601**

[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) は、日付と時刻をフォーマットするための国際標準であり、データベースでよく使用されます。

「as iso8601」を使用して、この形式に変換します。

```
April 1, 2019 3:30pm as iso8601 | 2019-04-01T15:30:00+11:00
```

「to date」を使用して、通常の別の日付形式に変換します。

```
2019-04-01T15:30:00 to date | 1 April 2019 at 3:30 pm
```

### **タイムスタンプ**

[Unix time](https://en.wikipedia.org/wiki/Unix_time) は、ある時点を記述するためのシステムであり、プログラミングでよく使用されます。タイムスタンプとは、「基準日」（1970年1月1日）から経過した秒数を指します。

```
April 1, 2019 to timestamp | 1554109200
1559740303.48 to date      | 5 June 2019 at 11:11 pm
```

現在時刻のタイムスタンプを取得するには、**current timestamp** を使用します。

```
current timestamp | 1559740303.48
```

#### **ミリ秒タイムスタンプ**

ミリ秒タイムスタンプも日付に変換できます。

```
1733823083000 to date | 10 December 2024 at 8:31:23 pm
```
