DateTime Format Problem
It is right for "Now".
But, how would it be possible for a given Date?
I tried the following code:
DateTime.DateFormat = "MM/dd/yy hh:mm:ss H"
Dim UTC_TS As Long
UTC_TS = DateTime.DateParse("03/23/2012 19:30:00") - DateTime.DateParse("01/01/1970 00:00:00")
Log("UTC_TS: "&UTC_TS)
But this throws an ParseExeption "Unparsable Date", because of "H" in the DateFormat.
Following the
THIS Documentation Link for "Formats", this should be allowed.
Looking for a solution to get the UTC Timestamp for a given Date & Time for an 24h Format
Any ideas?
Rgds Bernd