Menu
Hello,
I need to be able to return true or false if a given timezone is currently in DST or not. I noticed is_dst is a deprecated function so I was wondering what the best alternative to that is.
Basically, I have the timezone name of the logged in user ($timezone_name) returning already, so I just need to check against that if it is in dst or not.
Any help would be appreciated. I know it’s probably something simple that can be done.
Thanks