STOD()

From Recital Documentation Wiki
Revision as of 15:28, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

STOD()

Class

Expressions and Type Conversion


Purpose

Function to perform string to date conversion


Syntax

STOD(<expC>)


See Also

CTOD(), DTOS()


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