How can I use datediff function so that it returns me date with less
then or equal to 13 months from today?
thanksInstead of DATEDIFF, use DATEADD function like:
DATEADD( m, -13, CURRENT_TIMESTAMP )
Anith
Subscribe to:
Post Comments (Atom)
Date/Time Stamp,Sql Server
No comments:
Post a Comment