View Full Version : timestamp
jeyasree
02-10-2009, 08:58 AM
how to select next highest timestamp from database than the given timestamp
i have tried so many datepart methods
plz
abduraooft
02-10-2009, 10:23 AM
select myDate from myTable where myDate<givenDate order by myDate DESC LIMIT 1 ?
jeyasree
02-10-2009, 11:09 AM
Thank you very much..
its working..
very useful to me :-)
guelphdad
02-10-2009, 05:06 PM
what database application are you using? LIMIT is not standard. If you are using mysql then your question needs to be moved to the mysql forum. If using a different database application, then please specify in your thread title.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.