Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
vamsi (Guest)
vamsi (Guest)
Hello,
 
My PHP and SQL Servers running in the US.
 
My online shopping store is located in India I get the time from the US servers.
 
Is there any way in Viart to apply a timezone correction based on the location where the website is viewed ??
 
Regards,
 
Vamsi
 
Natalia
Natalia
Hello,
 
You can add the following line into /includes/var_definition.php:
 
// save new date with time shift in seconds (3600 - 1 hour)
$va_time_shift = 0;
 
When the difference in time is 12 hours ahead the code could be something like:
$va_time_shift = 12 * 3600;
 
Best regards,
ViArt Suppot Team