Is it possible to set timezone during user login to sc developed projects? I’ve a project with users from different timezone how do I handle this in my sc project? Please help.
There are timezone statements in php (http://php.net/manual/en/function.date-default-timezone-set.php), so it should be doable afaik. Only ‘problem’ is to decide which timezone is needed, but you could ask at login time. Other option might be http://stackoverflow.com/questions/4746249/get-user-timezone , I did not test that.
Hello Albert Drent, Thanks for your prompt response. I might not made my question clear. In my user table there is a field named timezone, which comply the timezone identifier for php. In my login app I looked up the user timezone and set that timezone for the session but in the other apps where datetime fields value set to default date/datetime has no impact? How do I control this.