Check whether the string is a unix timestamp

Posted by RHPT on Stack Overflow See other posts from Stack Overflow or by RHPT
Published on 2010-03-26T16:00:35Z Indexed on 2010/03/26 16:03 UTC
Read the original article Hit count: 491

Filed under:
|
|
|
|

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

© Stack Overflow or respective owner

Related posts about php

Related posts about php5