How to compare time in bash script?

Hi,

Anyone know how to compare the time in bash script?

I want to compare say 30 min. to 45 min. ( AIX )

Thanks.

 
if (( 30 < 45 ))
then
 whatever
else
 righton
fi