Time zone used by this site

Let us know how we are doing -
Locked
User avatar
Lupp
Volunteer
Posts: 3693
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Time zone used by this site

Post by Lupp »

When I recently compared, I got:

UTC (by my own UDF):
2025-02-18 13:34:48.171 UTC

forum.openoffic.org:
It is currently Tue, 2025-02-18 15:34

Zone time (Munich, MET, UTC+01:00):
14:34:48 UTC+01:00

Does the site use Eastern European Time?
If so, why?
What did I misunderstand?
On Windows 10: LibreOffice 25.2.2 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
Hagar Delest
Moderator
Posts: 33336
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Time zone used by this site

Post by Hagar Delest »

I guess it depends on what you set in our User Control Panel. Seems fine for mine:
UCP.png
UCP.png (16.44 KiB) Viewed 4423 times
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
Lupp
Volunteer
Posts: 3693
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Time zone used by this site

Post by Lupp »

Thanks.
I don't have any idea for what I may have set a wrong time zone long ago.
But actually the "EET" issue lasted for many years now.
On Windows 10: LibreOffice 25.2.2 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
MrProgrammer
Moderator
Posts: 5258
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Time zone used by this site

Post by MrProgrammer »

Lupp wrote: Tue Feb 18, 2025 3:51 pm UTC (by my own UDF):
2025-02-18 13:34:48.171 UTC

Zone time (Munich, MET, UTC+01:00):
14:34:48 UTC+01:00
The forum software used to require each member to indicate in the control panel if they were on Daylight Saving Time. So I had to update that setting twice a year. The version we're using now does that automatically as long as the correct time zone and location is provided in User control panel → Board preferences → Global settings → My timezone.

Lupp wrote: Tue Feb 18, 2025 4:34 pm But actually the "EET" issue lasted for many years now.
Surely München uses Central European Time. MET seems to be another name for CET.

Unix examples

$ # Get epoch time for 2025-02-18 13:34:48 UTC
$ lupp=$(TZ=UTC date -f '%F %T' -j '2025-02-18 13:34:48' +%s)
$ :
$ # At that date/time what was the date/time in MET?
$ TZ=MET date -r $lupp "+  %F %T"
  2025-02-18 14:34:48
$ :
$ # At that date/time what was the offset for MET?
$ TZ=MET date -r $lupp "+  UTC%z"
  UTC+0100
$ :
$ # In June what will be the offset for MET?
$ june=$(TZ=UTC date -f '%F %T' -j '2025-06-18 13:34:48' +%s)
$ TZ=MET date -r $june "+  UTC%z"
  UTC+0200
$ :
$ # When does Daylight Saving Time change for MET in 2025?
$ zdump -v MET | sed -n '/2025/s/^...//p'
  Sun Mar 30 00:59:59 2025 UTC = Sun Mar 30 01:59:59 2025 MET isdst=0
  Sun Mar 30 01:00:00 2025 UTC = Sun Mar 30 03:00:00 2025 MEST isdst=1
  Sun Oct 26 00:59:59 2025 UTC = Sun Oct 26 02:59:59 2025 MEST isdst=1
  Sun Oct 26 01:00:00 2025 UTC = Sun Oct 26 02:00:00 2025 MET isdst=0
$ :
$ # Show current date/time in various timezones
$ zdump UTC MET | sed -n 's/^...//p'
  Wed Feb 19 21:15:46 2025 UTC
  Wed Feb 19 22:15:46 2025 MET
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.5, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Locked