Public Shared Function ConvertDateTime( _ ByVal date As Date, _ ByVal fromTimeReference As TimeReference, _ ByVal toTimeReference As TimeReference _ ) As Date
public static DateTime ConvertDateTime( DateTime date, TimeReference fromTimeReference, TimeReference toTimeReference )
Parameters
- date
- The value to be converted from one time zone to another.
- fromTimeReference
- The current time zone of the date parameter.
- toTimeReference
- The time zone to convert the date parameter into.
Return Value
The equivalent date value after the specified time zone conversion.