Navigation:  Reference > Functions >

DateToString()

Print this Topic Previous pageReturn to chapter overviewNext page

 

DTOS(1)

 

PURPOSE

This function will return a date value as a string in the form YYYYMMDD.

 

PARTS

 

1 f/c/eRequired - Date value to use.

 

RETURN TYPE - A

An 8 character string is always returned.

 

EXAMPLE

define x type a size 8

x = DTOS(date())

// if the current date is 09/30/00 then x = '20000930'

 

SEE ALSO

DATE()   Convert to Date CTOD() Convert to time CTOT()   TIME GET SET  Convert time to record TTOR()  Covert time to number TTOF() Convert time to string TTOC()

TIME() YEAR() Date Command  Date to Record DTOR()  Convert date to Character DTOC() Days in month DAY_IN_MONTH

Increment the Month INC_MONTH DayMonthyear DMY()  Month Day Year MDY()

Charicter of month CMNTH()  Charicter to day of week CDOW()

 

 


Page url: http://www.cassoftware.com/tas/manual/datetostring().htm