Convert text date, to date 2018-04-18
Daniel Wiant
✭✭✭
I have a primary field that contains date information and I need to convert it to a date, so that I can compare it against another date field.
The format of the text date is 2018-04-18, and I need to convert it to a date, and cannot find a formula to do that. Any help?
thanks d
Tags:
Comments
-
=DATE(VALUE(LEFT(text,4)),VALUE(MID(text,6,2)),VALUE(RIGHT(text,2)))
-
Perfect...thank you sir.
-
@rjudenberg thank you, did not know the VALUE function existed!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!