To check date Validity

版本 1.0.0.0 (1.4 KB) 作者: Cavin Dsouza
The program checks whether a date entered in DD/MM/YYYY format is a valid one or not.
416.0 次下载
更新时间 2013/12/2

查看许可证

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

引用格式

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

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0