Jump to content

Find Date/Time

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Nightracer

Nightracer

    Programmer

  • Members
  • PipPipPipPip
  • 131 posts
Is there a way in MySQL to determine if a date is older than 20 minutes?

#2
mylegoh

mylegoh

    Newbie

  • Members
  • PipPip
  • 25 posts
Hi,

You need to use the addtime function in MySQL see http://dev.mysql.com...-functions.html for full syntax information.

:)

#3
Magnus

Magnus

    Newbie

  • Members
  • Pip
  • 4 posts
How have you stored that time?

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You can store in the language you are executing the query in such as PHP. Otherwise, you will only be able to display it in MySQL.