get the current timestamp, subtracting 86400 seconds is not reliable to
get yesterday's date to the nearest second?
terrible!


Le 04/09/18 à 20:48, Philip Guenther a écrit :
> On Mon, Apr 9, 2018 at 2:04 AM, Stephane HUC "CIOTBSD" <b...@stephane-huc.net
>> wrote:
> 
>> as: date -r $(( $(date +%s) - 86400)) +%F
>> ;)
> 
> ...
> 
>>> On Sun, Apr 08, 2018 at 11:12:43PM -0700, Philip Guenther wrote:
>>> | Did you test that after 11pm on the day when daylight-saving time ends
>> and
>>> | the clock is turned back, resulting in a 25 hour long day?
>>
> 
> <sigh>
> The best part about top-posting is that you don't have to read the earlier
> comments which already explained why the solution you're proposing isn't
> reliable...
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
<me>Stephane HUC as PengouinBSD or CIOTBSD</me>
<mail>b...@stephane-huc.net</mail>

Reply via email to