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 #46: Formatting a Date from an Integer

mbonora
7 - Meteor

My solution.

kexelby
7 - Meteor

My solution for this weeks challenge! 

RichoBsJ
11 - Bolide

Hi! Here my solution :)

jdunkerley79
ACE Emeritus
ACE Emeritus

A silly way but...

Spoiler
REGEX_Replace(ToString(ToNumber([date])+19000000),"(\d{4})(\d{2})(\d{2})","$1-$2-$3")
T_Willins
14 - Magnetar
14 - Magnetar

Completing old challenges.  Could be done in one tool, but faster to use DateTime tool

RandeepB
Alteryx
Alteryx

Used the ReplaceFirst function- although after looking at other solutions I think I will give this ago with using the Switch function as I haven't used this before. 

archietao
8 - Asteroid

My solution

Strohy
8 - Asteroid

My Solution attached.

 

Cheers

TharunReddy
8 - Asteroid

STEP 1: Use Formula tool to get the exact year

STEP 2: Parse the string to Date format using DateTime Parse tool

STEP 3: Select the desired Columns for output

 

Happy Practice :)

KeithTroutt
8 - Asteroid

My solution