Re: Comparing time in Linux




"Binary" <binary.chen@xxxxxxxxx> wrote in message
news:1135308497.668323.157630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> Any command or script to compare the date/time in Linux? I want to know
> a date is later or ealier than another. Such as 2005/10/10 >
> 2004/11/21?

If you want to compare dates of files, test(1) has -nt and -ot operators


.



Relevant Pages

  • Comparing time in Linux
    ... Any command or script to compare the date/time in Linux? ... a date is later or ealier than another. ...
    (comp.os.linux.development.apps)
  • Re: Comparing time in Linux
    ... :Any command or script to compare the date/time in Linux? ... If you're doing this from the command line, you can compare the results ...
    (comp.os.linux.development.apps)
  • Re: [PHP] Re: Why MS Wont Retire Browsers -- was: Interntet Explorer 8 beater 2
    ... is a little unfair to compare it to the Mac OS and say that Microshaft ... 'M$ has to support infinite hardware configurations' argument into perspective. ... obviously linux isn't developed on thin air and recieves plenty of corporate ... Microshaft way of trying to stop things working in order to force users ...
    (php.general)
  • Re: dpreview
    ... and Apple sells software that runs on Windows too. ... You can compare Linux to Windows, but to do so you need to be ... the line between the GUI / Desktop and the OS is blurred ...
    (rec.photo.digital.slr-systems)
  • RE: *at family of syscalls in FreeBSD
    ... this is certainly a nice API to have even aside from the linux compatibility ... the actuall implementaiton. ... My patch has been ... can someone from Isilon comment their version so we can compare benefits etc.? ...
    (freebsd-arch)