Hi Simon
Try
Dim dFromDate As Date : dFromDate = #1/16/2015 4:00:00 PM#
Dim dToDate As Date : dToDate = #1/16/2015 4:30:00 PM#
'** Now you convert to the String **
Dim FromDate As String : FromDate = Format(dFromDate, "yyyy-MM-ddTHH:mm:ssZ")
Dim ToDate As String : ToDate = Format(dToDate, "yyyy-MM-ddTHH:mm:ssZ")
You were doing 10 (October)anyways
Try
Dim dFromDate As Date : dFromDate = #1/16/2015 4:00:00 PM#
Dim dToDate As Date : dToDate = #1/16/2015 4:30:00 PM#
'** Now you convert to the String **
Dim FromDate As String : FromDate = Format(dFromDate, "yyyy-MM-ddTHH:mm:ssZ")
Dim ToDate As String : ToDate = Format(dToDate, "yyyy-MM-ddTHH:mm:ssZ")
You were doing 10 (October)anyways


Comment