Convert local-time Date to UTC Date

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

Syntax

C#
DateTime DateLocalToUTC(
	DateTime LocalDate
)
Visual Basic
Function DateLocalToUTC ( _
	LocalDate As DateTime _
) As DateTime
Visual C++
DateTime DateLocalToUTC(
	DateTime LocalDate
)

Parameters

LocalDate
Type: System..::..DateTime
Date in local-time

Return Value

Date in UTC

Remarks