var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
How can i count number of days from today if there's a date provided using select?
i have high-school graduation date in my table ....and i wanna view the number of days since the graduation using select.....
I don't know what version of MySQL you're using, but try
select to_days(graduationdate) - to_days(curdate()) from ...
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors