From 1a4981a826bb94c478c6f49721396ec03e02649c Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 11 Mar 2021 19:47:26 +0100 Subject: First big articles reformatting now that I properly understand hugo --- content/blog/commands/date.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'content/blog/commands/date.md') diff --git a/content/blog/commands/date.md b/content/blog/commands/date.md index e0b2bcc..07d5b41 100644 --- a/content/blog/commands/date.md +++ b/content/blog/commands/date.md @@ -1,12 +1,14 @@ --- title: "Convert unix timestamp to readable date" -linkTitle: "Convert unix timestamp to readable date" date: 2011-01-06 -description: > - Convert unix timestamp to readable date +description: the -d flag of the date command combined with @timestamp +tags: + - simple utilities --- -As I somehow have a hard time remembering this simple date flags as I rarely need it, I decided to write it down here : +## 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 : {{< highlight sh >}} $ date -d @1294319676 -- cgit v1.2.3