SOLVED
Date Format
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
fieldew1
7 - Meteor
‎01-26-2025
03:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I have the following string 09-07-24 09:40:50 and I'm trying to extract date and convert it to the following format 2024/07/09.
Really appreciate any help with this.
Thanks
Solved! Go to Solution.
Labels:
- Labels:
- Developer Tools
2 REPLIES 2
17 - Castor
‎01-26-2025
03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @fieldew1, can't tell if this is MM-DD-YYYY or DD-MM-YYYY. Using a Formula tool expression, if it's the former then use:
DateTimeFormat(DateTimeParse([Input],'%m-%d-%Y'),
'%Y/%d/%m')
If it's the latter then you can use:
DateTimeFormat(DateTimeParse([Input],'%d-%m-%Y'),
'%Y/%m/%d')
‎01-26-2025
03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Amazing! It did work for me :)
