Check whether the string is a unix timestamp
- by RHPT
I have a string and I need to find out whether it is a unix timestamp or not, how can I do that effectively?
I found this thread via Google, but it doesn't come up with a very solid answer, I'm afraid. (And yes, I cribbed the question from the original poster on the aforementioned thread).
http://www.sitepoint.com/forums/showthread.php?t=585963