Question
Virgin Media Ireland Limited
IE
Last activity: 5 Dec 2018 15:08 EST
GetSpecifiedTimeOnDate function returning date that is 24 hours off
I have been having an issue with the function GetSpecifiedTimeOnDate. We have been using it to convert DateTime objects back to GMT times.
However the dates can be out by 24 hours.
In this case, Testing with a DateTime object it is returning the wrong Date, while using a date object we get the correct result.
We began using a DateTime object to avoid this exact scenario, is this a bug? Why am I getting this incorrect value?