This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function checkDateFormat($date) | |
| { | |
| //match the format of the date | |
| if (preg_match ("/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/", $date, $parts)) | |
| { | |
| //check weather the date is valid of not | |
| if(checkdate($parts[2],$parts[3],$parts[1])) | |
| return true; | |
| else | |
| return false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| img.alignright {float:right; margin:0 0 1em 1em} | |
| img.alignleft {float:left; margin:0 1em 1em 0} | |
| img.aligncenter {display: block; margin-left: auto; margin-right: auto} | |
| .alignright {float:right; } | |
| .alignleft {float:left; } | |
| .aligncenter {display: block; margin-left: auto; margin-right: auto} |
OlderNewer