![]() |
| ||
| How to pick next or prevoius day? Hi, How can i pick next or prevoius day in mysql? Any function like curdate() ? Thanks |
| ||
| Re: How to pick next or prevoius day? Quote:
next: today + 1 previous: today - 1 |
| ||
| Re: How to pick next or prevoius day? You can do it with DATEADD, directly in MySql SELECT DATEADD(...) AS IncrementedDate from ... DATEADD("2000-12-01",INTERVAL 1 DAY) |
| ||
| Re: How to pick next or prevoius day? hi velodrom SELECT current_date() - INTERVAL 1 DAY AS "Help yesterday !", may also give some results. krs, tesu |
| ||
| Re: How to pick next or prevoius day? I'll try and let you know. Thanks guys |
| ||
| Re: How to pick next or prevoius day? Thank you guys. It works now. Tejusi, your solution is in use. |
| All times are GMT -4. The time now is 3:25 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC