Skip to Navigation
Mr PHP
Tomorrow's Solutions Today
Home
›
regex
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
forms
javascript
habtm
multiple
cache
drupal
php
exists
cakephp
exim
memcache
csv
breadcrumbs
block
apache
phpThumb
search
ssl
cpanel
replication
mysql
array
bash
performance
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