to the timezone (the old theme...)
normalize, all times are stored in the database in UTC (that's London time). for account-specific datas, the system search everytime, when needed, for the timezone of the logged user and add this timezone to the utc-time. in other, no-user-timezone-specific, it use the DefaultTimezone from the WB-Settings, for example: the date of the last modification in the frontend.
to understand all this, we need an example:
i was for a long time the admin of a charter boot service homepage in the caribic, the page was hosted in germany, because, the owner was a german. so the server-time was utc. as admin, i use utc+1 in winter and utc+2 in summertime. DefaultTimezone in Wb-Settings was UTC +5 and the page-owner has also utc +5 in his profile, because, he live's there in the caribic. If the two of us, the owner and I, log in at the same time, with the "private timezone-settings" from the user-profile, his login time will be 4:30 p.m. (UTC +5) and mine will be 1:30 p.m. (UTC +2), but we are online at the same time. if we use the globale DefaultTimezone from the WB-Settings, the database say's: i'm online at 4.30 p.m., but here it is 0.30 p.m.
If we only use time(), everyone has the same time in the database and WB then uses the profile data to calculate the correct time