Are you using latest versions of TMS Business products? There should also be a method DateTimeToISO in TBclUtils.
DateTimeToISO
TBclUtils