i am trying to generate a common api for my website!!! i got seperate code for different services like twitter, youtube and flickr!!! can someone tell me how to sort them all together by date????
+2
A:
Convert them all to some standard measurement, like a Unix timestamp. Then you can use numeric sorting methods.
avpx
2009-12-31 06:59:25
Do take note of the date timezone though. I've not tried it but could be rather tricky.
o.k.w
2009-12-31 07:01:58