Newbies Ronji Posted April 8, 2005 Newbies Posted April 8, 2005 Hi there all you amazing geniouses (if thats correct) I need a calc that will tell me how many days till a birthdate. I have tried this (Get(CurrentDate)-BirthDate)/365.2425 but if the date is passed it does some strange things. Any help will be greatly appreciated regards Ron
BobWeaver Posted April 8, 2005 Posted April 8, 2005 I didn't test this, but I think it should work: Let([ Today=Get(CurrentDate); A= Date(Month(Birthdate),Day(BirthDate),Year(Today))-Today; B= Date(Month(Birthdate),Day(BirthDate),1+Year(Today))-Today]; Case(A>=0;A; If today is your birthday, the formula will give you a value of zero, if you want it to give 365, then change the last line to: Case(A>0;A;:)
Recommended Posts
This topic is 7238 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