bool checkdate(int month, int day, int year)Returns TRUE if the date given is valid; otherwise returns FALSE. Checks the validity of the date formed by the arguments. A date is considered valid if: year is between 1 and 32767 inclusive month is between 1 and 12 inclusive Day is within the allowed number of days for the given month. Leap years are taken into consideration. 测试所给出的日期是否符合标准。
checkdate()验证日期的正确性。语法: int checkdate(int month, int day, int year);传回值: 整数函式种类: 时间日期内容说明 若日期是有效的则传回 true,若日期有问题,则传回 false。本函式可以用来检查日期是否有效。有效范围如下:年 为 0 至 32767 年 月 为 1 至 12 月 日 则随着月份及闰年变化
month is between 1 and 12 inclusive
Day is within the allowed number of days for the given month. Leap years are taken into consideration. 测试所给出的日期是否符合标准。
月 为 1 至 12 月
日 则随着月份及闰年变化