Spring forward...

Nov 28, 2009 at 3:56 PM

...and fall flat on my face!  I forgot to remove the hard-coded time-zone (and savings time!) information from the CreateC2R function.  If it causes you any grief, try replacing:

dtStartDateTime.ToString("yyyy-MM-ddTHH:mm:ss") & "-05:00</key> "


dtStartTime.ToUniversalTime.ToString("yyyy-MM-ddTHH:mm:ss") & "+00:00</key> "

Note that the Microsoft documentation for the ClickToRecord XML file states that you should include the 'Z' when indicating Universal time in your string.  When I tried this, however, I received the dreaded 'not a valid AllXsd value' error.  Simply setting the time zone offset to +00:00 worked just fine for me.