vodvud / php_zklib

GNU General Public License v2.0
23 stars 19 forks source link

Sync PC Current Time To Device #17

Closed aice09 closed 4 years ago

aice09 commented 4 years ago

I add default timezone and use $zk->setTime(date('Y-m-d H:i:s'));

vodvud commented 4 years ago

Normally the default timezone should be configured at the server. If you need to use the date_default_timezone_set() this is mean wrong server configuration.