DTOC()

Date to character conversion

Syntax

DTOC(<dDateString>) --> cDate

Arguments

<dDateString> Any date

Returns

<dDate> Character represention of date

Description

This function converts any date expression (a field or variable) expressed as <dDateString> to a character expression in the default format "MM/DD/YY". The date format expressed by this function is controled in part by the date format specified in the SET DATE command
Examples
      ? DTOC(Date())
Status

Ready

Compliance

This function is Ca-Clipper compliant

Platforms

All

Files

Library is rtl

See Also