Problem with XSD_DATETIME

I am working with a web consumer and have the following code which produces an “Object variable not set” error on the last line:Dim bTime As New NotesDateTime(“2008/11/30 00:00”)

Dim begin_datetime As XSD_DATETIME

Call begin_datetime.SetValueWithZoneFromNotesDateTime(bTime)

Any help would be appreciated.

Subject: Use variable of type XSD_DATETIME

Hi Stephen

I’m using the following construction:

Dim temp_XSD_DATETIME As New XSD_DATETIME

Call temp_XSD_DATETIME.setValueFromString(“2010-05-01T12:00:00”)

Set myCar.RegistrationDate = temp_XSD_DATETIME

HTH

Bodo