Adds or subtracts a specified time interval from a date
Datediff()
Returns the time between two dates
Select getdate()
Select datepart(d,getdate())
Select Dateadd(d,45,getdate())
Select * from Order where OrderDate = '2008-11-11'
Convert Functions
The Convert function is a general function that converts an expression of one data type to another.
Select Convert (Data_type(length), Expression, Style)
Select Convert (Varchar(10), Getdate(), 5)