PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 130 All time: 9,276 This week: 423Up
Version License PHP version Categories
date_validator 1.0.0GNU Free Document...5PHP 5, Time and Date, Validation


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 is available for providing paid consulting. Contact johno dread .
Classes: 7 packages by
Country: United States United States
Age: ???
All time rank: 1114162 in United States United States
Week rank: 483 Up46 in United States United States Up
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  
This week:0
All time:9,276
This week:423Up