Skip to Navigation
Mr PHP
Tomorrow's Solutions Today
Home
›
datetime
Regular Expression for Date or Datetime Validation
Submitted by brett on Fri, 22/08/2008 - 2:41pm
PHP
datetime
php
regex
This Regular Expression will verify if a date is a valid YYYY-MM-DD with an optional HH:MM:SS. It checks to see if the day is a valid day in the given month with the consideration of leap years.
7 comments
Read more
Home
Services
Development
Projects
Code Library
Contact
Search
Search this site:
Code Tags
apache
drupal
breadcrumbs
forms
block
cakephp
multiple
phpThumb
cpanel
bash
exim
array
replication
php
mysql
habtm
ssl
exists
performance
cache
javascript
memcache
search
csv
more tags
Web Development Jobs
Outsourcing Services
? Try
Freelancer.com.au
.
Freelancer.com.au
is #1 for
crowdsourcing
!
Website Templates
Static Website Templates
Magento Themes
creLoaded Templates
ZenCart Themes
osCommerce Templates
phpBB Themes
Drupal Themes