# DTOS()

Date to string conversion

Syntax

  DTOS(<dDateString>) --> cDate

Arguments

  <dDateString> Any date

Returns

  <dDate> String notation of the date

Description

  This function returns the value of <dDateString> as a character string in the format of YYYYMMDD. If the value of <dDateString> is an empty date, this function will return eight blank spaces.

Examples

          ? DTOS(Date())

Status

  Ready

Compliance

  This function is Ca-Clipper compliant

Platforms

  All

Files

  Library is rtl

See Also

- DTOC()
- DATE()
- DTOS()