Challenge #312: Hours, Minutes and Seconds
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
12 - Quasar
12-06-2022
04:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
NoelCarson
6 - Meteoroid
12-06-2022
06:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Enjoyed a good practice with the formula Tool on this one.
Spoiler
1. I used a select tool first to extract just the 'Chat Time' Column.
2. Parsed Chat time through three DateTime tool to extract three field from Chat Time for Hours, Minutes and Seconds.
3. Joined using join multiple so I could use the Hours, Minutes and Seconds with one Formula Tool.
4. On the formula tool used Formula: IF LEFT([Hour],1)=='0' THEN RIGHT([Hour],1) ELSE [Hour] ENDIF on the Hour, Minutes and Seconds field while substituting the Hours with Minutes and Seconds on subsequent formula to remove leading '0'.
5. Used another set of 3 formula's on a new Field name mew Chat Time: IF [Hour]=="0" THEN "" ELSE [Hour] + " Hours " ENDIF. Same formula used again for minutes and seconds.
6. Use Select tool to display only the Chat Time and New Chat Time fields.
2. Parsed Chat time through three DateTime tool to extract three field from Chat Time for Hours, Minutes and Seconds.
3. Joined using join multiple so I could use the Hours, Minutes and Seconds with one Formula Tool.
4. On the formula tool used Formula: IF LEFT([Hour],1)=='0' THEN RIGHT([Hour],1) ELSE [Hour] ENDIF on the Hour, Minutes and Seconds field while substituting the Hours with Minutes and Seconds on subsequent formula to remove leading '0'.
5. Used another set of 3 formula's on a new Field name mew Chat Time: IF [Hour]=="0" THEN "" ELSE [Hour] + " Hours " ENDIF. Same formula used again for minutes and seconds.
6. Use Select tool to display only the Chat Time and New Chat Time fields.
JoachimCaronTIL
8 - Asteroid
12-10-2022
05:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
alexhenson
8 - Asteroid
12-13-2022
11:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
François_Rs
8 - Asteroid
12-19-2022
04:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
sreekanthac
8 - Asteroid
12-21-2022
12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
My solution attached.
grazitti_sapna
17 - Castor
12-26-2022
02:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
HannahLaughton
8 - Asteroid
01-09-2023
03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
olga_strubbe
11 - Bolide
01-09-2023
06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
A neat time conversion challenge, thank you!
Kusk
8 - Asteroid
01-12-2023
02:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator