Convert local-time Date to UTC Date

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

Syntax

C#
public DateTime DateLocalToUTC(
	DateTime LocalDate
)
Visual Basic
Public Function DateLocalToUTC ( _
	LocalDate As DateTime _
) As DateTime
Visual C++
public:
virtual DateTime DateLocalToUTC(
	DateTime LocalDate
) sealed

Parameters

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

Return Value

Date in UTC

Implements

IUtil..::..DateLocalToUTC(DateTime)

Remarks