API Date & Time
Hello- Can you assist me?
- How do I convert the "Date Completed" to US Eastern Date/Time
- What's the formula for getting the amount of time spent between Date Created and Date Completed, in Days/Mins/Seconds.
Thank you.
Answers
-
@Genevieve P. Can you please assist me? Thanks
-
@Andrée Starå Can you assist me please?
-
If you're doing this through Bridge, I can offer how I do this. If you're using the API, sorry, I can't help. I did see the syntax of a timezone string shown in the API documentation here: https://smartsheet.redoc.ly/tag/users#operation/get-current-user
For a Bridge routine, here's an excerpt from one of my workflows where I wanted a timestamp in a specific timezone. Note that I customized the date and time format to fit the needs of the sheet I was updating. Also note the word 'formatted' must be added to the final Value string.
For date and time calculations, you may find this post by Paul helpful. Smartsheet views timestamps as a text string so you first must parse out the hours, minutes and seconds, then do math on each component.
Hope this helps
Kelly
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives