Results 1 to 5 of 5

Thread: $lastmonth = mktime(0, 0, 0, date("m")-1, date("d"), date("Y"));

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2003
    Posts
    126

    Resolved $lastmonth = mktime(0, 0, 0, date("m")-1, date("d"), date("Y"));

    WIth the following

    PHP Code:
    $lastmonth mktime(000date("m")-3date("d"),  date("Y")); 
    how can I return the result as 2004-11-05?
    Last edited by JamesNZ; Feb 6th, 2005 at 04:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width