Jorgitopeter Posted August 2, 2010 Posted August 2, 2010 Hi everyone! I have this little issue and couldn't find any answer in other topics. I hope you can help me. Thanks in advance! I want to compare 2 dates: the current date, and the one written by the user. I want to know if the date written by the user is more than 60 days older than the day when the user is writing. I mean, the user writes a date of a specific day (e.g. 07/15/2010). I'd want a calculation field that tells me if there are more than 60 days between the date written by the user, and the day when the user is writing (today 08/02/2010). Please let me know if my bad English isn't good enough to be clear. Thanks again!
Lee Smith Posted August 2, 2010 Posted August 2, 2010 Hi Jorgitopeter, What do you want to happen when the dates the meet your criteria?
Jorgitopeter Posted August 2, 2010 Author Posted August 2, 2010 Hi Lee, thanks for answering. What I'd need is that when the date written by the user is older than 60 days from the current date, the field returns 'NO'; if it isn't, the field should return 'YES'. Can you figure that out? thanks a really lot!
efen Posted August 2, 2010 Posted August 2, 2010 Create the calculation field (result text) as If(UserEnteredDateField ≥ Get(CurrentDate)- 60; "No"; "Yes")
Jorgitopeter Posted August 3, 2010 Author Posted August 3, 2010 Thanks... tomorrow I'll test this field and then I'll tell you if I have lucky! Thanks a lot!!!
Jorgitopeter Posted August 3, 2010 Author Posted August 3, 2010 Great! Thanks a really lot for the help... I couldn't figure out how addition and substraction work with dates! Thanks again!
Recommended Posts
This topic is 5284 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