DAY Function not working as intended?
I have a column formula for the "Month" "Day" and "Week" from the "Auto - Date Added" Column
The column formula for DAY is
=DAY([Auto - Date Added]@row)
As you can see, the day is still the same - 7/14/22 but the day function goes to the next day (15th) after 5PM. Is there anyway to fix this / change the day function so that is interprets the day to be started at 12AM and not 5PM?
Would be much appreciated..
Thanks.
Answers
-
Hi @tdotarcy
You can change the hours in a day, in the settings, by following the steps below:
Switch your sheet to the Gantt View.
Click the settings wheel on the upper right, below the share button.
On the Dependency Settings screen, click the "edit" button in the Working Days section.
From there you can change the Length of Day (hours).
I hope that helps. Have a good day.
-
@tdotarcy - You must be in the Eastern time zone.
Smartsheet auto-dates are recorded as UTC (but displayed in your local time). At 5 p.m. Eastern Daylight UTC becomes the next day. So the DAY command is working correctly, just not off of what you are looking at. The last day of the month it will show as the next month for these seven hours.
I've overcome this by creating a helper column (formatted as a date column) with a column formula that is simply picking up the data from that auto column:
=[Auto - Date Added]@row
The new column (your column) will record the visible date from the auto column and the commands you're using when applied to your new column will return the results you expect.
I've not had occasion to test this, but you might accomplish this using a "record a date" automation where any new row just get's the new column populated. Haven't tested this theory.
Hope that helps!
Terry
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!