bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug


From: Michael A. Tobin
Subject: Bug
Date: Mon, 10 Feb 2003 23:03:34 -0500

Below is the output I got while trying to do ridiculous date operations.
You'll notice that it's computing the date erraticly (at least at first
glance).

root: # date --version
date (GNU sh-utils) 2.0.11
Written by David MacKenzie.

Copyright (C) 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root: # date -d "9999999999999 seconds ago"
Sun May 28 22:40:12 EDT 1961
root: # date -d "99999999999999 seconds ago"
Mon May  9 08:48:20 EDT 1994
root: # date -d "999999999999 seconds ago"
Sat Feb 28 16:41:46 EST 2026
root: # date -d "999999999999999 seconds ago"
date: invalid date `999999999999999 seconds ago'
root: #







reply via email to

[Prev in Thread] Current Thread [Next in Thread]