Gentoo Archives: gentoo-user

From: Dr Rainer Woitok <rainer.woitok@×××××.com>
To: gentoo-user@l.g.o, matthewdconnell@×××××.com, tedheadster@×××××.com
Subject: Re: [gentoo-user] Converting Unix time to local time
Date: Mon, 23 Nov 2020 18:24:19
Message-Id: 24507.65096.816038.449277@tux.speedport.ip
1 Matt and also Mathew,
2
3 On Monday, 2020-11-23 11:46:56 -0600, Matt Connell (Gmail) wrote:
4
5 > ...
6 > Is the basic `date` from coreutils sufficient? If so, no need to
7 > reinvent the wheel, unless I'm misunderstanding your need.
8 >
9 > Example:
10 >
11 > $ date --date='@2144444444'
12 > 2037-12-14T17:00:44 CST
13
14 *blush* Even though I'm using "date" since umpteen years, up to now I
15 was not aware of this "@..." syntax. You're perfectly right, that's ex-
16 actly what I was looking for.
17
18 Many thanks! :-)
19
20 Sincerely,
21 Rainer

Replies

Subject Author
Re: [gentoo-user] Converting Unix time to local time "Matt Connell (Gmail)" <matthewdconnell@×××××.com>