Difference between revisions of "STOD()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Expressions and Type Conversion | Expressions and Type Conversion | ||
Line 38: | Line 35: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Expressions and Type Conversion]] | ||
+ | [[Category:Expressions and Type Conversion Functions]] | ||
+ | [[Category:Date and Time Data]] | ||
+ | [[Category:Date and Time Data Functions]] |
Revision as of 10:14, 2 June 2009
Class
Expressions and Type Conversion
Purpose
Function to perform string to date conversion
Syntax
STOD(<expC>)
See Also
Description
The STOD() function converts the character expression <expC>, in the format "YYYYMMDD", to a date. This function needs the century included in the character string even if SET CENTURY is OFF.
Example
? dtos(date()) 20001015 store dtos(date()) to mDate ? mDate 20001015 ? type("mDate") D
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer