SOLVED
Date conversion
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
Sarath27
8 - Asteroid
‎01-16-2024
05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi All,
Please help me how to convert the below string to a date format.
effectivedate
45170
I want this to be populated as "YYYY-MM-DD".
Please assist me. Thanks
Solved! Go to Solution.
Labels:
- Labels:
- Date Time
4 REPLIES 4
17 - Castor
‎01-16-2024
05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎01-16-2024
05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
No its not working. its shows null
17 - Castor
‎01-16-2024
05:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
17 - Castor
‎01-16-2024
05:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Sarath27 if you're still getting nulls then it may be the case that your effectivedate field is a string - it needs to be numeric for the ToDate() conversion so you can either use a Select tool to change the data type or add another function to the expression i.e.
ToDate(ToNumber([effectivedate]))
