SQL Server Transact Basic to Expert - Decreasing a date and time by 30 Mins using SQL queryKarthikeyan Anbarasan15yPublished Jun 16, 2011, 12:00 AMUpdated Jun 16, 2011, 9:00 AM4.3k00Reactions×25BlogThis blog shows how to do an decrease a date and time value to 30 mins in the output using SQL QueryExample:SELECT DATEADD(mi, -30, '2011-02-02 22:30:00.000')The expected result would be 2011-02-02 22:00:00.000CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.