Public Overridable Sub SetDateTime(ByVal dateTime As DateTime)
Dim year As Integer = dateTime.Year
Dim month As Integer = dateTime.Month
Dim day As Integer = dateTime.Day
Dim hour As Integer = dateTime.Hour
Dim minute As Integer = dateTime.Minute
Dim txCmdWithoutLastByteCheckSum As Byte() = New Byte() { &H51, &H33, CByte((((month And 7) << 5) + day)), CByte((((year - &H7D0) << 1) + (month >> 3))), CByte(minute), CByte(hour), &HA3 }
Me.connection.SendAndReceive(txCmdWithoutLastByteCheckSum, 8)
End Sub