CT_SToD

 


 STOD()
 Converts an ANSI date string into Clipper format

 Syntax

     STOD(<cAnsiDate>) --> dDate

 Argument

     <cAnsiDate>  Designates the character string that contains a date in
     the ANSI format "YYYYMMDD" that is to be converted into the Clipper
     date format.

 Returns

     STOD() returns the <cAnsiDate> character string in the corresponding 
     Clipper date format.

 Description

     STOD() converts an ANSI date created by the Clipper DTOS() function,
     back into the standard date format.

 Note

     .  If the ANSI date is invalid, a null date is returned.

 Example

     Display the ANSI date in default date format:

     APPEND FROM OTHDATE
     LIST STOD(cAnsiDate)

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.