Answer the question
In order to leave comments, you need to log in
How to get the time in a specific time zone?
It is necessary for the period of Christmas holidays - from 00:00 24.12 to 00:00 27.12 to turn on the banner.
But the time must be obtained strictly according to the timezone, specifically for Berlin, and not for the user's computer.
Those. turn on when in Berlin 00 on the 24th and off when in Berlin 00 on the 27th.
Below is the simplest option, just without taking into account the timezone, for clarity, I did the opposite to turn it off these days, tell me what to add so that everything is correct.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question