note 117917 deleted from function.date by peehaa
| From: | peehaa@php.net | Date: | Fri, 06 Jan 2017 15:53:29 +0000 |
| Subject: | note 117917 deleted from function.date by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208699@lists.php.net to get a copy of this message | ||
Note Submitter: krejci dot info at seznam dot cz
----
I recommend to use "/" instead of "-" when creating dates:
<?
if( date( 'd/m' ) >= date_create( '01/09' ) ) { }
?>