Goal- Create report, using sql query, to show time of order placement.
I'm delving through the accpac tables, the only constant identifier I can find for determining order TIME, is OEORDHO.AUDTTIME. The oeordho.audttime seems to be the only time field that does not change through the process.
Question, is there a more static time field, and how would you convert this time field to EST using a SQL query.
Already tried converting milliseconds, and deducting GMT time
ROUND(OEORDHO.AUDTTIME / 10000 - 500, 0). Yields negative results......
I'm delving through the accpac tables, the only constant identifier I can find for determining order TIME, is OEORDHO.AUDTTIME. The oeordho.audttime seems to be the only time field that does not change through the process.
Question, is there a more static time field, and how would you convert this time field to EST using a SQL query.
Already tried converting milliseconds, and deducting GMT time
ROUND(OEORDHO.AUDTTIME / 10000 - 500, 0). Yields negative results......