To check date Validity
Versione 1.0.0.0 (1,38 KB) da
Cavin Dsouza
The program checks whether a date entered in DD/MM/YYYY format is a valid one or not.
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
Cita come
Cavin Dsouza (2024). To check date Validity (https://www.mathworks.com/matlabcentral/fileexchange/44526-to-check-date-validity), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2008a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Language Fundamentals > Data Types > Dates and Time >
- MATLAB > Language Fundamentals > Data Types > Dates and Time > Calendar >
Scopri di più su Dates and Time in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |