Click here to Skip to main content
11,430,109 members (76,372 online)
Click here to Skip to main content
Alternative Tip/Trick

Tagged as

Useful DateTime Functions

, 1 Sep 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
----First Day of Current QuarterSELECT DATEADD(qq,DATEDIFF(qq,0,GETDATE()),0) 'First Day of Current Quarter'
----First Day of Current Quarter
SELECT DATEADD(qq,DATEDIFF(qq,0,GETDATE()),0) 'First Day of Current Quarter'

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

db_developer
Database Developer Freelancer
Ukraine Ukraine
MS SQL Server Database Developer with 7+ years experience

Technologies/languages: Business Intelligence, SQL, MDX, VBA, SQL Server, Analysis Services (SSAS), Reporting services (SSRS), Integration Services (SSIS), DataWarehouse.
Also: economic background.

Feel free to contact me for rates and details.

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150428.2 | Last Updated 1 Sep 2011
Article Copyright 2011 by db_developer
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid