Skip to content Skip to sidebar Skip to footer

How To Set Timezone In Session Of Sqlite?

In MySql following query is used to set session set @@session.time_zone='+05:00'; But it is not working into SQLite. As on following link, It is not possible to set session in SQL

Solution 1:

SQLite times use UTC by default, and can be converted between UTC and the current local time with the localtime and utc modifiers of the date and time functions. However, the difference between UTC and the local time is read from the operating system, and cannot be changed.


Post a Comment for "How To Set Timezone In Session Of Sqlite?"