Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

First date of the current quarter 1

Status
Not open for further replies.

lakshhari

IS-IT--Management
Sep 29, 2008
6
US
Hi,

How do I get the first date and last date of the current quarter in Crystal XI??

Any ideas??

Thanks,
 
//{@startqtr}:
date(year(currentdate),(datepart("q",currentdate)*3)-2,1)

//{@endqtr}:
dateserial(year(currentdate),(datepart("q",currentdate)*3)+1,1)-1

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top