Scenario:
We have an application where the user preference is Pacific Standard Time.
I have a table that I am using in an SSRS Report and I am querying the table based on createddatetime.
The contract class uses a 'date' parameter.
I pass the date parameter to the DP class and convert it to a utcdatetime data type.
But I need to covert it to UTC date time by adding 7 hours since the date entered by the user will Pacific Standard Time.
Is there better way to do this?
Is there a function I can call to convert Pacific Standard time to UTC.
I'm concerned about day light savings time.
Thanks in advance