Click here to Skip to main content
11,648,094 members (64,007 online)
Click here to Skip to main content

Tagged as

Useful DateTime Functions

, 1 Sep 2011 CPOL 1.4K
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.

You may also be interested in...

Comments and Discussions

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