Re: Computing and calculating dates
| From: | Richard Lynch | Date: | Mon, 26 Mar 2007 20:23:55 +0000 |
| Subject: | Re: Computing and calculating dates | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251418@lists.php.net to get a copy of this message | ||
On Sun, March 25, 2007 12:46 pm, Otto Wyss wrote:
> Sorry that doesn't work with dates like "1.4.2007".
list($d, $m, $y) = explode('.', '1.4.2007');
$unixtime = mktime(1, 0, 0, $m, $d, $y);
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?