Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
set aDateTimeObject = aString.convertToDateTime() 
set aDateTimeObject = convertToDateTime(LITERAL)
Semantics

convertToDateTime() converts the internal lexical representation of DateTime ("CCYY-MM-DDThh:mm:ss[.sss][Z|[+|-]hh:mm]") to a DateTime type.
If the conversion is not possible, an error message is raised (for instance: NULL strings).

SubstitutablesaString Can be any variable or object attribute having the type String. The format must correspond to the lexical representation of DateTime.  
LITERAL String literal. The format must correspond to the lexical representation of DateTime.
Examples
Code Block
languagenone
set aDateTimeObject = aString.convertToDateTime(); 
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameActionScript_Calculations_Example
PageWithExcerptINTERNAL:_designer_examples
rp
Panel
titleRelated Pages: