When I connected my new tablet to the Internet for the first time (and consequent times), I expected it to automatically change date and time to match the time zone I'm in (IIRC, it asked me for time zone when I turned it on, but I could be remembering wrong). It hasn't.
seems the new version of php in 13.10 does not like not setting the time zone when you call the date function
i could just get the time zone from the client, but i am using the number as a id and i don't want to allow duplicates
extremely unlikely to have more than one time zone for this use, but rather not let it me possible.
i came up with this code (don't care about windows server support)
A have a dual boot system: Ubuntu and Arch. Ubuntu was installed first. A while after installing Arch, I've set up its clock because it was 8 behind my current time zone (my time zone is gmt +8). I don't remember the actual command, something like date --set "xxxxxx". However, I do remember that I specified the time zone during its installation (gmt +8, Hong Kong).