Check if value is a date
Moderator: General Moderators
Check if value is a date
Is there a way in php to check if a variable is a date? by imputing a time stamp?
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: Check if value is a date
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?