Timezone Offset

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Timezone Offset

Post by mbartens » Thu Feb 11, 2016 4:39 am

Does this change the timestamp on records being INSERTED into the database?
May

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Timezone Offset

Post by mazhar » Thu Feb 11, 2016 5:08 am

In database we store datetime in universal time without timezone offsets. Timezone information is stored as store setting. When you insert a product it will convert local date time to universal time and similarly when you load it will convert back to local time using time zone information.

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: Timezone Offset

Post by mbartens » Thu Feb 11, 2016 5:35 am

Ok, thank you. Apparently the time on the server is off.. when you insert a row do you get the time from sql or from the webserver?
May

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Timezone Offset

Post by mazhar » Thu Feb 11, 2016 6:01 am

From web server.

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Timezone Offset

Post by compunerdy » Thu Feb 11, 2016 6:46 am

I had a issue with this on reports.. I was trying to compare sales reports to what I downloaded into quickbooks. I could not get quickbooks and the AC reports to have all of the orders match as to which day the orders where placed. I could change my timezone settings to get dates to move around on the AC reports but I would always have at least 1 invoice up or down a day still. If quickbooks transfer is using the date in the DB is there some way to get the reports to use that same date?

Post Reply