To check date Validity

The program checks whether a date entered in DD/MM/YYYY format is a valid one or not.
416 Downloads
Updated 2 Dec 2013

View License

The program checks whether a date entered in DD/MM/YYYY format is a valid one or not.

Test for Leap Year Corrections Made:

Pseudocode to determine whether a year is a leap year or not:

if year is divisible by 400 then is_leap_year
else if year is divisible by 100 then not_leap_year
else if year is divisible by 4 then is_leap_year
else not_leap_year

Cite As

Cavin Dsouza (2024). To check date Validity (https://www.mathworks.com/matlabcentral/fileexchange/44526-to-check-date-validity), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0