Hi is there a function on SQL Server that can identify if Daylight Saving Time is active or not.
where i created a scalar function that converts the server time to plant location time who uses the application upon insert/update is executed.
the problem is i did not know that there is DST on US. So my plan is i will do something like
if DST is active
// -1
else
// + 1
end
where i need to check if DST is active or not
Any ideas anyone?
Thanks and Regards
Handling Daylight time Function: