Jump to content

This topic is 8081 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Got a bit stuck on this one.

Probably easy but maybe someone can give this amateur a push in the right direction.

Trying to get the calculation together for displaying zodiac based on field "birthdate".

And this is aint the way:

Case(

Day("23") & Month("12") >= Day(birthdate) & Month(birthdate), "Steenbok",

Day("23") & Month("11") >= Day(birthdate) & Month(birthdate), "Boogschutter"

Etc..

)

Thanks in advance..

Posted

Try:

case(Date(Month(Birthdate),Day(Birthdate),2002) >= Date(12,23,2002), "Steenbok",

Date(Month(Birthdate),Day(Birthdate),2002) >= Date(11,23,2002), "Boogschutter"

etc.

It shouldn't matter which year you use in the calculation, as long as you use the same year everywhere.

Hey! It's my birthday today. I'm finally old enough to.... to.... er, nevermind.

So, I guess I'm a Boogschutter. Cool!

This topic is 8081 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.