Summary of issue/request/query
We use =Now() for one of Kanban report, and it gives us result of GMT+8. We check the database server using root@WMSDB-CML:~#timedatetc1, the time zone is Asia/Jakarta (WIB, +0700), but when we check with root@WMSDB-CML:~# cat /etc/timezone, the result is Asia/Shanghai
T/ 1st Line Support Investigation Comment
Please advice how to get the correct time for the report, and should we change the timezone in etc/timezone?
Attachment
SELECTCONCAT(
DATE_FORMAT(convert_tz(now(), @@session.time_zone,'+07:00'),'%a')
,' '
,(convert_tz(now(), @@session.time_zone,'+07:00'))
)AS time;Files | ||
---|---|---|
|
DataImage31.png
31 KB
|
|
|
DataImage3.png
57 KB
|
|
|
DataImage89.png
114 KB
|
|
|
FluxKanbanReport.jpeg
106 KB
|
|
|
DBServerTimezone.jpeg
122 KB
|