ConvertDate(DateTime,String,String) Method
date to convert
Timezone name input date is currently in
Timezone name input date is being converted to
Converts a DateTime from one TimeZone to another.
Syntax
'Declaration
Public Overloads Overridable Function ConvertDate( _
ByVal _date_ As Date, _
ByVal _fromTZName_ As String, _
ByVal _toTZName_ As String _
) As Date
public virtual DateTime ConvertDate(
DateTime _date_,
string _fromTZName_,
string _toTZName_
)
Parameters
date
date to convert
fromTZName
Timezone name input date is currently in
toTZName
Timezone name input date is being converted to
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family