Results 1 to 2 of 2

Thread: if time(); was one hour ago then...

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2009
    Posts
    876

    if time(); was one hour ago then...

    Hi does anyone know how to check if the time on the page using time(); was over one hour ago then echo "over one hour ago"


    well any time after one hour to echo "this was over an hour ago" ?

    Thanks
    J

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: if time(); was one hour ago then...

    (time() - $previousTime) > 3600

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