Blog for Latest Government and Private Jobs, asp.net, vb.net, sql server, java script queries
asp.net, vb.net, sql server, ssrs, expor to excel, export to pdf and javascript related queries
Pages
Home
Travel and Tours
Health Tips
Thursday, August 1, 2013
how to get the no of days between two dates
to get the
no of days
between
two dates,
use the following sql query
SELECT
DATEDIFF
(DAY,'2013-04-12',GETDATE())
return value
: 265
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment