Date and Time Create new product in Administration

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Experts please Help,


I added a product in a certain vendor.

I noticed that the create date and time are advanced of 3-4 hours from the current date time.

1) is this normal?
2) is this a bug?
3) what is the reason behind why the created time is advanced/Plus 3-4hours from the current time?


Regards,


Archie
6 years ago
archie748491 wrote:
Experts please Help,


I added a product in a certain vendor.

I noticed that the create date and time are advanced of 3-4 hours from the current date time.

1) is this normal?
2) is this a bug?
3) what is the reason behind why the created time is advanced/Plus 3-4hours from the current time?


Regards,


Archie


I believe it is UTC time.
6 years ago
There for it get's the create date time from internet not the server date and time?

Is there a nopcommerce setting for this? or
this requires to dig in the code to adjust from where nopcommerce will get it?
6 years ago
archie748491 wrote:
There for it get's the create date time from internet not the server date and time?

Is there a nopcommerce setting for this? or
this requires to dig in the code to adjust from where nopcommerce will get it?


Check Settings > All Settings (advanced)
search for Name > datetimesettings.defaultstoretimezoneid
6 years ago
Thank you I will look into these...
I want/need to get date and time from the server.
6 years ago
archie748491 wrote:
Thank you I will look into these...
I want/need to get date and time from the server.


Check System > System Information to check which time zone your server is configured to use.
6 years ago
The test server utilizes our local time zone.. I also checked Getdate(), the result was local time zone. But nopcommerce I think retrieve from internet gets UTC.

I will dig in the code including your suggestions.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.