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
exim
forms
habtm
cakephp
array
phpThumb
bash
drupal
block
performance
multiple
ssl
cpanel
apache
search
mysql
php
memcache
exists
breadcrumbs
javascript
cache
replication
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