OK, I have a related question:

How to compare dates in UNIX. Can I day "if $x < $y", if x and y are variables ? If so, how ?

Thanks.