note 115258 deleted from function.strtotime by salathe
| From: | salathe@php.net | Date: | Wed, 25 Jun 2014 10:29:21 +0000 |
| Subject: | note 115258 deleted from function.strtotime by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-199759@lists.php.net to get a copy of this message | ||
Note Submitter: brad at wpsites dot net
----
This works for me if you want to expire a function on a specific date
<?php
if(time() <= strtotime('25-12-2014') ) {
?>