If you have a problem with the different time zone, this is the solution for that. How to Get the Current Date and Time in PHP. (Das entspricht den minimalen und maximalen Werten für einen Einige Datenbanken haben außerdem Funktionen, Offset der Zeitzone in Sekunden. The Unix timestamp contains the number of seconds between the Unix Epoch (January 1 1970 00:00:00 GMT) and the time specified. MySQL WEEK() returns the week number for a given date. If we want to find out the same thing of let’s say 12th week of 1848 we must use another approach as we can not get the timestamp. // Die Standard-Zeitzone, die verwendet werden soll, setzen. What I would do if the year is older than 1970 than make a difference between it and the needed year to know how many years are there, calculate the day of the week as my pickADay was part of 1970, shift it back one weekday for each. If you’ve ever needed to find the first or last day of a given period and you’re rocking a PHP version greater than or equal to 5.2, today is your lucky day! (. PHP - How to get start date and end date from given week number and year PHP – How to get start date and end date from given week number and year