Welcome to the new Zamblek — and the new Sngine website - The new Zamblek website is live — and with it, a new home for Sngine, your licenses, support, and the entire ecosystem. Mehr erfahren
What’s New with v4.5! - Sngine v4.5 comes with a lot of new features Mehr erfahren
Sngine 4.5 Release! - Our Sngine team is so pleased to announce the release of Sngine 4.5! With some improvements, Mehr erfahren

How to change Sngine Time Zone?

Sngine not working on timezone base because we are using relative time as“2 hours ago” like

Zamblek Zamblek 1 Min. Lesezeit
How to change Sngine Time Zone?

Sngine not working on timezone base because we are using relative time as“2 hours ago” like Facebook, Twitter …etc

Sngine set the server time zone to UTC and in the front-end set the timezone to UTC too then calculate the difference. So there is no need to change server time otherwise you will change it from both back-end (PHP file) and front-end (JavaScript file).

includes/functions.php

Here you can change the timezone from the supported timezones list: https://www.php.net/manual/en/timezones.php

Example:

– includes/assets/js/sngine/core.js

Here you will need to edit the utcOffset() like this:

That’s it.

Happy Sngine 🙂

Buy Sngine or Extend your support: https://bit.ly/BuySngine