Check if value is a date
Posted: Wed Apr 16, 2008 3:37 pm
Is there a way in php to check if a variable is a date? by imputing a time stamp?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
nothing comes to mind, but cant you just check it for being an integer and 32 bits in length?GeXus wrote:Is there a way in php to check if a variable is a date? by imputing a time stamp?