Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php detect daylight saving time DST

if (date('I', time())) {
    echo 'We are in DST!';
} else {
    echo 'We are not in DST!';
}
Source by joshtronic.com #
 
PREVIOUS NEXT
Tagged: #php #detect #daylight #saving #time #DST
ADD COMMENT
Topic
Name
3+5 =