|
From: | Peng Yu |
Subject: | About mktime(, 1) |
Date: | Mon, 8 Nov 2021 22:06:06 -0600 |
Hi, I got 4 as the result of the following command. Shouldn't Eastern time be 5 hours different from UTC? Or, did I misunderstand something? $ TZ=US/Eastern awk -e 'BEGIN { print (mktime("2021 07 18 00 00 00") - mktime("2021 07 18 00 00 00", 1))/3600 }' 4 -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |