Posted by Franko on 11/06/07 08:23
On 5 nov, 13:22, samh...@hotmail.com wrote:
> Hopefully an easy one. Can someone please supply me with the code for
> displaying the previous month?
> I do not want just -3 from December for October. It needs to work each
> month without modifying.
>
> Many thanks
> Sam
The PHP manual gives some solutions. Maybe this one will work:
http://nl3.php.net/manual/nl/function.mktime.php#53662
[Back to original message]
|