php datetime daylight savings code example
Example: php is daylight savings
if(date('I')){
echo "We are in daylight saving time";
}else{
echo "We are NOT in daylight saving time";
}
if(date('I')){
echo "We are in daylight saving time";
}else{
echo "We are NOT in daylight saving time";
}