> The following line of code doesn't work for me:

> $previous_issue_unixdate = mktime(0, 0, 0, $previous_issue_month,
> $previous_issue_day, $previous_issue_year, 0);

> $previous_issue_month is set to 06, _issue_day is 30 and _issue_year to
> 2003. Still $previous_issue_unixdate is emtpy.

> anders thoresson
--------------------------------------------------------------------------

echo mktime(0, 0, 0, 09, 30, 2002, 0);
echo mktime(0, 0, 0, 9, 30, 2002, 0);

OUTPUTS:
========
1009656000
1033329600

NOTE:
=====
09 and 9 are not the same !!!

09 = octal number (well 9 doesn't exist in octal !!!)
9 = digital number

But mktime(0, 0, 0, 06, 30, 2002, 0) and mktime(0, 0, 0, 6, 30, 2002, 0)
should produce the same result:
1025380800
1025380800

> Still $previous_issue_unixdate is emtpy.
I dunno what to say... should work

Hope it helps...
Nadim Attari
http://www.alienworkers.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to