SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict scoobasteve1982's Avatar
    Join Date
    Apr 2007
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Compute last weeks date and every day to today thereafter

    Hi there,

    I'm looking to find out the date of last week and every day there after. Any hints or code on how to do this? I've seen this one the Web before but I can't remember where. Thanks very much for your help I appreciate it.

  2. #2
    SitePoint Addict scoobasteve1982's Avatar
    Join Date
    Apr 2007
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind I found the answer. That was easy...

    PHP Code:
    $unixstamp mktime(000date("m")  , date("d")-7date("Y")); 


Bookmarks

Posting Permissions

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