prasad-353693
Newbie
Points: 6
More actions
June 27, 2007 at 8:06 am
#177209
months between two dates
i have a query
how to get the no.of months between two dates
Hiring_date and current_date
Gift Peddie
SSC Guru
Points: 73570
June 27, 2007 at 8:29 am
#715554
It is very easy with DateDiff you get the days and convert to month. Try the link below for details. Hope this helps.
http://www.stanford.edu/~bsuter/sql-datecomputations.html
Kind regards,Gift Peddie
Ninja's_RGR'us
Points: 294069
June 27, 2007 at 9:13 am
#715564
You might as well finish to post your homework or exam, you'll get the answers faster that way!
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply