Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php detect daylight saving time

date_default_timezone_set('Europe/London');
$bool = date('I'); // this will be 1 in DST or else 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #detect #daylight #saving #time
ADD COMMENT
Topic
Name
4+3 =