I do have multiple accounts, unfortunately they are linked and I can only be counted once lol
I work for the City of Baton Rouge Information Services Department. We support all the municipal agencies and departments, and I more specifically work with public safety/ law enforcement.
So we use 911 Calls for Service (CFS) and reported crime. The data is updated in our SQL database nightly via a .csv file emailed from the Communications District, who maintain the Computer Aided Dispatch (CAD).... here's where it really gets fun... we have older servers and are stuck at 10.4 until, well, the city gets the money to pay for new servers I suppose. Esri won't even support 10.4 after the next update, and not exactly pouring all their resources in to it now.
Long story short, the hosted services we had published on our server with near real time CFS and officer locations suffered catastrophic failures right around the time of the UC and we've been scrambling to do damage control ever since. We've piece milled everything back together except for one very specific date filter issue. Any filter using "is within the last" or similar expressions cause an error accessing the data. I have several dashboards and various apps that show 2 week overviews or similar metrics.The work around we have for now is overwrite the a published feature layer every morning after the SQL update completes to uptake the new data to our portal. <probably more directly what you were asking> The data has several time fields such as CallDate, FirstArrival, ClosedDate and these are based on when they happened as they happened for the officers and witness/ victim or whoever. No one says, I was mugged at 10:00 PM UTC, they'll say the time of day 4:00 PM/ 5:00 PM depending on daylight savings time.
My problem is that when I publish or overwrite using the proper time configurations that data is correct and displays exactly as it should.
![CFS in Central Daylight Time [correct time and date]](/legacyfs/online/508666_CFS_time_in_CDT.jpg)
But when I use the script found here it reverts back to UTC.
![CFS time in UTC format [wrong date and time]](/legacyfs/online/508665_CFS_time_in_UTC.jpg)
I've been wracking my brain trying to figure out what seems like it should be a simple. Passing of the time zone parameter during the overwrite or after it is done.
tl;dr
- Local government that only deals in Central Time Zone
- Crime data that has to reflect local time and dates
- Outdated SQL server database with multiple data feeds into portal environment
- Dashboard applications mainly, with a few one off applications for various other LEA projects