skip to Main Content

What are the date bounderies in PHP

i use several datefunction with dates around the French republic of 1792-1806. But i want to know if the (php8) date function can handle these dates. function CheckFrDate($CheckDate){ $BeginFrDate = date_create_from_format('d/m/Y', '22/09/1792'); $EndFrDate = date_create_from_format('d/m/Y', '22/09/1806'); if ( $CheckDate->getTimestamp() >…

VIEW QUESTION

MYSQL get max. values from a specific date

I have a table with multi-year data of temperature measurement. Looking for the highest measured temperatures including the date of recording from the current year only. Tried following: SELECT timestamp, temperature AS max_temp FROM table WHERE temperature = (SELECT max(temperature)…

VIEW QUESTION
Back To Top
Search