I am implementing the following method-
DateTime getDateTime(Date srcDate, String destTimeZone) {
}
As the input is of Date
object, I can safely assume the timezone of it as "UTC". I have to convert it to destTimeZone
and return DateTime
object.
Any pointers in an efficient way to solve this?