Re: 9 Months Ago

From: Date: Sat, 20 Mar 2004 17:57:26 +0000
Subject: Re: 9 Months Ago
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181039@lists.php.net to get a copy of this message
mktime returns an Unix Timestamp, you need to format it using date( [form] , <[timestamp]> ). http://php.net/date Jeff Oien wrote:
When I do this: $lastmonth = mktime(0, 0, 0, date("m")-9, date("d"), date("Y")); echo "$lastmonth"; It prints this: 1056081600 Could you tell me what I'm missing? Thanks and thanks for the previous help. Jeff Oien


« previous php.general (#181039) next »