![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
Regular Coder ![]() Join Date: Oct 2003
Location: Australia
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Differences in datetime
Hi
I've been reading the MySQL manual datetime function for the past 30 mins but I'm still confused. I'm trying to select all records from a table where the postdate is later/more recent that a lastlogin time. I tried using DATEDIFF but got a MySQL syntax error. Can someone advise me. thank you. Code:
SELECT * FROM table WHERE date >''2005 -01 -25 17 :24 :47'
__________________
Day Dream Graphics |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|