1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Will it make a difference?

Discussion in 'PHP' started by qwikad.com, Aug 14, 2016.

  1. #1
    I am using this to refresh some stuff every 5 days:

    < NOW() - INTERVAL 5 DAY

    However, it seems like it doesn't take the exact hours into consideration. It just refreshes everything within 5 days or older.

    Will < NOW() - INTERVAL 120 HOUR do a more accurate job? Will it take the exact hours into consideration?
    Solved! View solution.
    Last edited: Aug 14, 2016
    qwikad.com, Aug 14, 2016 IP
  2. #2
    Yes it will, 120 hours will start from THIS hour until 120 hours back, opposed to using day which just goes back in days regardless of the hours.
    ThePHPMaster, Aug 16, 2016 IP
    qwikad.com likes this.
  3. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Likes Received:
    Best Answers:
    Trophy Points:
    Thank you, just needed a confirmation. Will run it for the next few days to see how it works.
    qwikad.com, Aug 16, 2016 IP