Translating Date Formats
We have Smartsheet integrated with another system and pulling data across into Smartsheet. Currently the date format that is coming across is (YYYY-MM-DD) and I want to translate that into my local profile date format of (MM/DD/YY). Is there a function or formula that allows me to do this? I have been unsuccessful in my searches for figuring this out.
Comments
-
Hi Mark,
There isn't a specific function to translate the date format, but it can be set up with the help of some helper columns.
Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? That would make it easier to help. (share too, andree@getdone.se)
I hope this helps you!
Have a fantastic week & Happy Holidays!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi again Mark,
I solved it with the help of some helper columns, but I'm looking at making it less complicated. I'll get back to you.
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Try this.
Place the formula below in the column where you want the converted date format to be. OrgDate is the date that you want to convert.
=IF(LEN(MONTH(OrgDate@row)) = 1; "0" + MONTH(OrgDate@row); MONTH(OrgDate@row)) + "/" + IF(LEN(DAY(OrgDate@row)) = 1; "0" + DAY(OrgDate@row); DAY(OrgDate@row)) + "/" + RIGHT(YEAR(OrgDate@row); 2 + IF(YEARDAY(OrgDate@row) < 10; "00"; IF(YEARDAY(OrgDate@row) < 100; "0")))
The same version but with the below changes for your and others convenience.
=IF(LEN(MONTH(OrgDate@row)) = 1, "0" + MONTH(OrgDate@row), MONTH(OrgDate@row)) + "/" + IF(LEN(DAY(OrgDate@row)) = 1, "0" + DAY(OrgDate@row), DAY(OrgDate@row)) + "/" + RIGHT(YEAR(OrgDate@row), 2 + IF(YEARDAY(OrgDate@row) < 10, "00", IF(YEARDAY(OrgDate@row) < 100, "0")))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic week & Happy Holidays!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!