Syntax
set aString = aDateTime.convertToString();
Semantics convertToString() returns the internal lexical representation of DateTime ("CCYY-MM-DDThh:mm:ss[.sss][Z|[+|-]hh:mm]") as String.
SubstitutablesaDateTime Can be any variable or object attribute having the type DateTime
Examples
set aDateTimeString = aDateTime.convertToString();