PHP Classes
elePHPant
Icontem

Simple Date Validator: Simple date string validation

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-07-03 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 113 This week: 1All time: 8,406 This week: 1,047Up
Version License PHP version Categories
date_validator 1.0.0GNU Free Document...5PHP 5, Time and Date, Validation
Description Author

This is a simple class for date string validation.

It takes a given date string and a format string as parameters.

The class can reformat the given date using the given format and compares the original date with the formatted date to determine if the date is valid.

This simple class Validates date strings as a valid date, returning true or false on each test case

Picture of johno dread
Name: johno dread <contact>
Classes: 6 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file datevalidator.php Class main class
Accessible without login Plain text file Tests.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:113
This week:1
All time:8,406
This week:1,047Up