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,234 This week: 423Up
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 is available for providing paid consulting. Contact johno dread .
Classes: 7 packages by
Country: United States United States
Age: ???
All time rank: 1112158 in United States United States
Week rank: 898 Up102 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  
 0%
Total:130
This week:0
All time:9,234
This week:423Up
For more information send a message to info at phpclasses dot org.