String comparsion

ameen rahman <[email protected]> Fri, 6 Mar 2009 22:37:18 -0800 (PST)
Newsgroups gmane.comp.db.mysql.java
Message-ID <[email protected]>
Hi.......
          I need to compare two string values(DateTime). For eg: if the datetime values are "Sat Mar 07 11:15:52 IST 2009" and  "Sat Mar 07 12:12:32 IST 2009".
i want to use condition like this:
if(2nd value > 1st value)
{
}
else
{
}

will anyone suggest me how to overcome this problem and to connect the systems.

Thanks,

Ameen