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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php