|
|
|
вопрос по timezone
|
|||
|---|---|---|---|
|
#18+
храню время в timestamp в базе установил смещение +2 часа делаю прямой запрос в консоли к mysql, возращается время со смещением 2 делаю запрос в пхп, в котором задано свое смещение +1 в итоге выводится дата utc+1 это правильно, но почему? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.11.2016, 14:27 |
|
||
|
вопрос по timezone
|
|||
|---|---|---|---|
|
#18+
tadeyiloda, http://dev.mysql.com/doc/refman/5.7/en/datetime.html MySQL converts TIMESTAMP values from the current time zone to UTC for storage, and back from UTC to the current time zone for retrieval. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.11.2016, 20:30 |
|
||
|
|

start [/forum/topic.php?fid=47&gotonew=1&tid=1831242]: |
0ms |
get settings: |
11ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
169ms |
get topic data: |
8ms |
get first new msg: |
5ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
1ms |
| others: | 252ms |
| total: | 513ms |

| 0 / 0 |
