date ??

Peter Kruty (oozy) xkruty na informatics.muni.cz
Středa Říjen 31 09:51:16 CET 2001


nazdar,

On Wed, Oct 31, 2001 at 07:46:40AM +0100, Jaroslav Cibulka wrote:
> Zdar lidi,
> co by jste cekali od
> 
> date  --date '1 month ago' +"%d/%m/%Y"
> ...tak - a ted jak tedy jinak ?? :))
> JaCi

Podla info stranky:

"...The unit of time displacement may be selected by the string `year'
or `month' for moving by whole years or months.  These are fuzzy units,
as years and months are not all of equal duration.  More precise units
are `fortnight' (14 days) ... `week' (7 days) ... `day' (24 hours) ...
`hour' (60 minutes) ... `minute' (60 seconds) and `second'..."

size nic konkretne o tom ako to funguje, ale je jasne, ze lepsie je pouzivat,
tie `precizne' casove jednotky. 

--
                                Peter `oozy' Kruty

                         ''~``
                        ( o o )
+------------------.oooO--(_)--Oooo.------------------+
|    sub { print "lambda @_\n" }->('abstraction?');   |
|                    .oooO      oozy at  mail.muni.cz |    
| http://www.oozy.sk (   )   Oooo.   at subculture.sk |
+---------------------\ (----(   )--------------------+
                       \_)    ) /
                             (_/


Další informace o konferenci Linux