/ Published in: PHP

check if the year is leap
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function is_leap($year){ try { if(($year % 4) === 0){ return true; } return false; }else{ } }catch(Exception $e){ } }
Comments
