PHP Classes

How to Implement PHP Date Validation that Supports Many Possible Date and Time Formats - Date Validator package blog

Recommend this page to a friend!
  All package blogs All package blogs   Date Validator Date Validator   Blog Date Validator package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement PHP ...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Package: Date Validator

Many applications take input parameters from users or external data sources, including dates or times.

When the applications allow multiple formats for the date and time values they accept as parameters, they must check them against all the acceptable date and time formats.

This package can perform date and time validation that accepts many possible formats and can even support more custom date and time formats.




Loaded Article

About the Date Validator Package

The package Date Validator is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Validate strings with dates to match a format

Here follows in more detail what it does:

This package can validate strings with dates to match a format.

It can string with a date, a time, or a date and a time and validates that string according to a format.

The package can try validating the date or time string to check if it matches one of the several formats defined within the validation class.

You can add more date and time formats to let make the package support more valid formats.

Conclusion

The Date Validator can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   Date Validator Date Validator   Blog Date Validator package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement PHP ...