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
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 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!