OMamed Posted September 13, 2001 Posted September 13, 2001 I've done a search, and have done what I can, but seem not to be able to figure this one out myself, so here goes... I need to convert a date input into the two digit fiscal year... So if I input 9/13/01, a calculation is done... greater than or equal to 7/1/01 and less than or equal to 6/30/02 then the field gets "02" as the fiscal year. Can anyone help me? I'm just not getting the calculation at all. Thank you!
BobWeaver Posted September 13, 2001 Posted September 13, 2001 You can use this if you don't have any dates prior to year 2000. Year(MyDateField)+case(Month(MyDateField)>6,1,0)-2000 Otherwise: Right(NumToText(Year(MyDateField)+case(Month(MyDateField)>6,1,0)),2)
Recommended Posts
This topic is 8543 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now