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

DateDiff to beginning of next financial year

Status
Not open for further replies.

handlebarry

Technical User
Dec 21, 2004
118
GB
Hi,

Trying to work out the difference between a given date and the start of the next financial year (April 1st)

AXB Addition: DateDiff("d",[LHFH_Start_Date],"THE NEXT APRIL 1st")

Can someone please help - thanks

 
Perhaps:
[tt]The Next April the 1st = Iff(Month([LHFH_Start_Date])>3,DateSerial(Year([LHFH_Start_Date])+1,4,1),DateSerial(Year([LHFH_Start_Date]),4,1))[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top