Pardon our dust - Alteryx Academy is under construction. Lessons and courses completed on Community from now until January 20th will not be recorded.
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #258: Relatively Old

Sivashankaran
Meteor

Here is my solution for the Challenge #258

Sivashankaran_0-1706958310362.png

 

 

  1. Below is the formula used to find DOB for whole family

if [Name] = 'Kevin' then

 

DateTimeAdd(DateTimeAdd('2015-05-05',-2,'year'),-53,'days')

elseif [Name] = 'Stéphane' then

DateTimeAdd('2015-05-05',7,'days')

elseif [Name] = 'Christine' then

DateTimeAdd(DateTimeAdd(DateTimeAdd('2015-05-05',7,'days'),-25,'year'),-3,'months')

elseif [Name] = 'Samuel' then

DateTimeAdd('2015-05-05',-4,'days')

elseif [Name] = 'Juliette' then

DateTimeAdd('2015-05-05',10,'days')

else

[Date of Birth]

Endif

  1. Convert the DOB to custom format “%A” to see its appropriate Weekday.

Solution

aiahwieder
Comet

Reminds me of an old brain teaser/logic puzzle from elementary school!

pclane
Asteroid

Good challenge for learning about DateTime functions

Dibas98
Asteroid

Fun

SihanL
Meteoroid

258

holly_jones12
Meteor
Spoiler
image.png
leefurches
Meteor

I don't work with date/time much, so hardest one yet!

Lee T. Furches
JakubJ
Asteroid

Hi, it is my solution. Regards

Fun!