aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/date.md
blob: 96121247fa0b477bcd19d15773c4179fd936554a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
title: "Convert a unix timestamp to a readable date"
date: 2011-01-06
description: the -d flag of the date command combined with @timestamp
tags:
  - toolbox
---

## The trick

I somehow have a hard time remembering this simple date flags *(probably because I rarely get to practice it), I decided to write it down here :

```sh
$ date -d @1294319676
Thu Jan 6 13:14:36 GMT 2011
```