Convert UTC Date to local-time Date

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
DateTime DateUTCToLocal(
	DateTime UTCDate
)
Visual Basic
Function DateUTCToLocal ( _
	UTCDate As DateTime _
) As DateTime
Visual C++
DateTime DateUTCToLocal(
	DateTime UTCDate
)

Parameters

UTCDate
Type: System..::..DateTime
Date in UTC

Return Value

Date in local-time

Remarks