powered by
Tests whether the night that follows the input calendar date is a night with day saving time (DST) and on what hour the time moved.
is_this_a_dst_night(calendar_date=c(),tz="Europe/London")
If value=0 no DST, if value=1 time moved forward, if value=-1 time moved forward
Either the double hour or the hour that was skipped, this differs between countries
Character in the format dd/mm/yyyy
Time zone in "Europe/London" format.
test4dst = is_this_a_dst_night("23/03/2014",tz="Europe/London")
Run the code above in your browser using DataLab