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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Financial Year to Date 1

Status
Not open for further replies.

DonnaB

Programmer
Apr 23, 2001
34
AU
I'm trying to write a formula to calculate if a date is in the range of FYTD.
Could someone help by pointing me in the write direction? I also need to use this formula to calculate if a date is in the range of FYTD this time last year.
Thanks...
 
There is no automatic function, but you can write a formula to calculate your fiscal year, what is your fiscal year? July to June? Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Yes, our finacial year is from July through to June the following year.
 
First create a formula to calculate the beginning date of your fiscal year:

{@FYStart}
if Month (CurrentDate) >= 7
then Date (Year(CurrentDate), 7, 1)
else Date (Year(CurrentDate) - 1, 7, 1)

Now you can use the following boolean to see if a date is in FYTD:

{Date} in {@FYStart} to CurrentDate Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top