Re: Comparing time in Linux



Binary wrote:
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?

I have a number of solutions, what are you starting with for format and what language do you want to use? C? PERL? bash?


--
bill davidsen
  SBC/Prodigy Yorktown Heights NY data center
  http://newsgroups.news.prodigy.com
.



Relevant Pages

  • Re: [opensuse] Quick perl question - why are @array[$num] and $array[$num] the same?
    ... My purpose for looking at perl was I wanted a more robust bash. ... be a step up in scripting language from bash. ...
    (SuSE)
  • Re: Is Perl the best alternative to bash shell scripts?
    ... > of the bash shell script language, ... > But is Perl really the best alternative? ... > that allows the use of bash shell scripts ... which alternative scripting language would you recommend? ...
    (alt.os.linux)
  • Re: python a bust?
    ... > who use computers since 1996 use either java, perl, C or bash. ... > They know their language and don't want to change. ...
    (comp.lang.python)
  • Re: test for file exitence
    ... What language or shell or whatever? ... In bash for example you could use ... or in Perl you might use ...
    (comp.unix.questions)
  • Re: Python or PHP?
    ... > every language here and there more ways to do something. ... The best the programmer can do, as you imply, is to ... parse out into proper perl expressions. ... > lists, dictionaries, etc. etc. ...
    (comp.lang.python)