note 110484 modified in function.strtotime by aharvey

From: Date: Mon, 29 Oct 2012 02:02:40 +0000
Subject: note 110484 modified in function.strtotime by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191569@lists.php.net to get a copy of this message
saw a bunch of functions for finding out the quarter we are in. why not just use this: <?php function get_quarter() { return ceil(date(\'m\')/3); } ?> --was-- saw a bunch of functions for finding out the quarter we are in. why not just use this: function get_quarter { return ceil(date('m')/3); } http://php.net/manual/en/function.strtotime.php

« previous php.notes (#191569) next »