My local server’s timezone is set to UTC-8 – https://www.screencast.com/t/1qqid95lR3v I need to create epoch time for UTC so I’m trying to use the following function: #DateDiff(“s”, “January 1 1970 00:00:00”, dateconvert(“local2utc”, now()))# The dateconvert function does not compute the correct time using any combination. Here is example code: <cfset utcTime = dateconvert(“local2utc”, now())> <cfoutput> now: #now()# <br>local2utc: #utcTime# <br>epoch (now){currentTime:#DateDiff(“s”, “January 1 1970 00:00:00”, now())#} <br/>epoch (local2utc){currentTime:#DateDiff(“s”, “January 1 1970 00:00:00”, dateconvert(“local2utc”, now()))#} <br>epoch (utcTimeVar){currentTime:#DateDiff(“s”, “January 1 1970 00:00:00”, utcTime)#} […]
I added a bunch of files to a project via the file system, and the project in the navigator refuses to update. Refresh does not work, neither does F5. What do I have to do to get a project to refresh besides recreate it every time there is a change from outside the system. I HAVE to work from 2 different machines and the files are on a network share.
This error used to be solved by unchecking a box in CFAdministrator labeled Enable HTTP Status Codes. This setting is well hidden in 2018. Where do I find it? Why isn’t it on the debugging info page next to “Enable Robust Exception Information”?