I want to right a function that would compare two ISO 6801 time stamps and return the most recent one. I'm having trouble figuring out an easy way to create a function
For example Given string s1 = 2012-10-10 09:42:00;
and string s2 = 2012-10-10 09:52:00;
compare_timestamp(s1,s2) would return s2