Sprache: English Programmiersprache: Visual Basic Veröffentlicht von: echten [nicht registriert] Letzte Änderung: 15.05.2006 Aufrufe: 1597
I was looking for an API/function/snippet that could convert a given local time to UTC (formerly known as GMT), but could only find an API that was only available in Windows XP. Therefore I looked into combining some other APIs. I created the following function. Just call the function with the time you want to convert. The result is a boolean telling you if the conversion was successful. The converted date is returned in the original variable. Feel free to modify this to return the converted date or pass the converted date in another parameter.
Does it take into consideration Daylight Savings Time?
Very interesting code.
Name *
E-Mail (wird nicht angezeigt) *
Website
Kommentar *
Sicherheitscode *