Here is a quick way to calculate the difference between two mysql dates in number of seconds. In my case, i required to fetch all entries for which the difference between current time stamp and date in a table field would be less than 5 minutes. Continue reading
Tag Archives: mysql date function
ArchiveWhile working on a report generation system i had to perform a query to check whether records exist in ‘reports’ table between a date range received from two form fields “start_date” and “end_date”. To make it more specific i will try to explain it with the help of an example. Continue reading

Recent Comments
Arvind Thakur on Simple image rotater with fadeIn fadeOut effect using jQuery
Found even more-more precised and simplest method at Jonathan Snook's blog with a demo. I am sure nothing can be...anil kiumar on Resume download of PART extension file in Firefox
yah bepsait acchi haiArvind Thakur on Simple captcha component for CakePHP 1.x
CakePHP 2.x version of this component is hereArvind Thakur on Resume download of PART extension file in Firefox
As i did not had access to website i tried to reply you last night through email address you posted...sophia on Resume download of PART extension file in Firefox
Hi, I have only part file and I made a copy of it by removing .part. later I moved it to another...