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 #34: Date-Time Formatting

kylemhabe
8 - Asteroid

Like others, I didn't see the need to use a macro. I guess the tools have been updated since this challenge was posted.

 

Spoiler
kylemhabe_0-1582832219217.png

 

mceleavey
17 - Castor
17 - Castor

Nice and simple. 

 

Spoiler
Here's the workflow with my snazzy macro:

mceleavey_0-1582889381297.png

And here's the macro:

mceleavey_1-1582889414592.png

I fed in the data, set the column to be long enough (just in case) then split out the field on "/", then split the year from the time on the remaining \s character. I then used padleft to add leading zeros to those with shorter values, then merged them together in the correct format. Boom.

mceleavey_2-1582889527616.png

 

Everything's easier with macros.

Just like everything's better with chili pepper. What? Even chess? Yes. Chess is better with chili pepper.

 

M.



Bulien

Maissa
7 - Meteor

 

Hi everyone!

 

Here is my solution for this challenge.

 

cheers

 

 

challenge34.PNG

 

 

AnjaTABARD
7 - Meteor
 
dashakir1
8 - Asteroid

Thanks

aazimh
8 - Asteroid

Trying to get back into the habit of doing these - nice simple one to start!

Pang_Hee_Choy
12 - Quasar
 
mpennington
11 - Bolide

Solution attached.

 

Spoiler
MP34.png
SamDesk
11 - Bolide
Spoiler
Annotation 2020-03-18 123052.png

Presuming this challenge existed before the DateTime specifiers where a thing, and so warranted a macro.

 

Sam

LauraScavino
7 - Meteor
Spoiler
Annotation 2020-03-26 150830.png