Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.os.linux.misc > #35802
| Message-ID | <635c79c9@news.ausics.net> (permalink) |
|---|---|
| From | not@telling.you.invalid (Computer Nerd Kev) |
| Subject | Re: Unix time |
| Newsgroups | comp.os.linux.misc |
| References | <tjg57f$s00$1@gioia.aioe.org> |
| Date | 2022-10-29 10:54 +1000 |
| Organization | Ausics - https://www.ausics.net |
Andrei Z. <no-email@invalid.invalid> wrote:
> "Time is an illusion, Unix time doubly so..."
>
> https://www.netmeister.org/blog/epoch.html
Very interesting. For fun I decided to try this on 32-bit OpenWrt
22.03 (MIPS32), which uses Musl libc, seeing as this latest major
release of OpenWrt claims to be year 2038 safe:
https://openwrt.org/releases/22.03/notes-22.03.0#year_2038_problem_handled
Curiously everything worked like the GNU Date results shown there,
except for the second test ('date --date @-1'):
root@OpenWrt:~# ls -l `which date`
lrwxrwxrwx 1 root root 7 Sep 3 12:55 /bin/date -> busybox
root@OpenWrt:~# TZ=UTC date --date @0
Thu Jan 1 00:00:00 UTC 1970
root@OpenWrt:~# TZ=UTC date --date @-1
date: invalid date '@-1'
root@OpenWrt:~# TZ=UTC date --date @1
Thu Jan 1 00:00:01 UTC 1970
root@OpenWrt:~# TZ=UTC date --date @-2
Wed Dec 31 23:59:58 UTC 1969
For some reason it won't take '-1' seconds, though other negative
values work the same as the GNU Date results on that page (except
shown in 24-hour format).
BusyBox version is v1.35.0.
--
__ __
#_ < |\| |< _#
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Unix time "Andrei Z." <no-email@invalid.invalid> - 2022-10-28 11:51 +0300
Re: Unix time not@telling.you.invalid (Computer Nerd Kev) - 2022-10-29 10:54 +1000
Re: Unix time Bobbie Sellers <bliss@mouse-potato.com> - 2022-10-29 07:51 -0700
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-05 22:02 -0400
Re: Unix time Pancho <Pancho.Jones@proton.me> - 2022-11-06 12:14 +0000
Re: Unix time "Andrei Z." <no-email@invalid.invalid> - 2022-11-06 16:00 +0300
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-06 22:41 -0500
Re: [OT] Unix time Bit Twister <BitTwister@mouse-potato.com> - 2022-11-09 16:54 -0600
Re: [OT] Unix time Computer Nerd Kev <not@telling.you.invalid> - 2022-11-10 10:29 +1000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-18 23:28 -0500
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-19 10:58 +0000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-21 21:59 -0500
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-22 12:31 +0100
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-22 15:37 +0000
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-23 00:28 +0100
Re: [OT] Unix time "26C.Z969" <26C.Z969@noaada.net> - 2022-11-23 00:28 -0500
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-23 12:47 +0100
Re: [OT] Unix time "26C.Z969" <26C.Z969@noaada.net> - 2022-11-23 23:55 -0500
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-24 09:30 +0000
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-24 12:46 +0100
Re: [OT] Unix time "26C.Z969" <26C.Z969@noaada.net> - 2022-11-26 23:28 -0500
Re: [OT] Unix time Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2022-11-24 12:16 +0000
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-24 13:26 +0100
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-24 12:32 +0000
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-24 14:36 +0100
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-24 14:09 +0000
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-24 19:25 +0100
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-24 19:40 +0000
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-24 21:28 +0100
Re: [OT] Unix time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2022-11-24 13:06 -0500
Re: [OT] Unix time "26C.Z969" <26C.Z969@noaada.net> - 2022-11-26 23:36 -0500
Re: Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-10 11:01 +0100
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-18 23:33 -0500
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-18 23:37 -0500
Re: Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-19 11:01 +0000
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-19 22:06 -0500
Re: Unix time Allodoxaphobia <trepidation@example.net> - 2022-11-21 13:03 +0000
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-21 21:40 -0500
Re: Unix time Pancho <Pancho.Jones@proton.me> - 2022-11-07 10:17 +0000
Re: Unix time Bobbie Sellers <bliss@mouse-potato.com> - 2022-11-06 07:43 -0800
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-06 22:35 -0500
Re: Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-07 06:12 +0000
Re: Unix time Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2022-11-07 06:21 +0000
Re: Unix time Harold Stevens <wookie@limbo.localdomain> - 2022-11-07 02:44 -0600
Re: Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-07 15:42 +0000
Re: Unix time Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2022-11-07 16:44 +0000
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-09 00:46 -0500
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-09 00:32 -0500
Re: Unix time Bobbie Sellers <bliss@mouse-potato.com> - 2022-11-09 08:13 -0800
Re: Unix time not@telling.you.invalid (Computer Nerd Kev) - 2022-11-10 07:10 +1000
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-16 00:18 -0500
Re: Unix time Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2022-11-16 18:13 +0000
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-17 00:41 -0500
Re: Unix time Jerry Peters <jerry@example.invalid> - 2022-11-22 18:21 +0000
Re: Unix time "26C.Z969" <26C.Z969@noaada.net> - 2022-11-23 00:31 -0500
Re: Unix time not@telling.you.invalid (Computer Nerd Kev) - 2022-11-17 07:27 +1000
Re: Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-09 00:10 -0500
Re: Unix time Andreas Kohlbach <ank@spamfence.net> - 2022-11-09 18:52 -0500
Re: [OT] Unix time Bit Twister <BitTwister@mouse-potato.com> - 2022-11-10 18:57 -0600
Re: [OT] Unix time G <g@nowhere.invalid> - 2022-11-11 10:42 +0000
Re: [OT] Unix time Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2022-11-12 19:42 +0000
Re: [OT] Unix time "Carlos E.R." <robin_listas@es.invalid> - 2022-11-11 12:20 +0100
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-11 11:46 +0000
Re: [OT] Unix time Eli the Bearded <*@eli.users.panix.com> - 2022-11-11 18:39 +0000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-11 17:50 -0500
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-12 11:15 +0000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-14 23:34 -0500
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-15 11:10 +0000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-16 00:11 -0500
Re: [OT] Unix time Richard Kettlewell <invalid@invalid.invalid> - 2022-11-16 08:54 +0000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-18 23:58 -0500
Re: [OT] Unix time The Natural Philosopher <tnp@invalid.invalid> - 2022-11-19 11:04 +0000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-19 22:16 -0500
Re: [OT] Unix time Richard Kettlewell <invalid@invalid.invalid> - 2022-11-19 13:16 +0000
Re: [OT] Unix time "26C.Z968" <26C.Z968@noada.net> - 2022-11-19 22:51 -0500
csiph-web