datestr#
Purpose#
Returns a date in a string.
Format#
Examples#
// Date
d = { 2015, 10, 09, 0 };
// Convert to mo/dy/yr format
y = datestr(d);
print y;
produces the following output:
10/09/15
Remarks#
To create date strings with more formatting options, see dttostr(), dttostrc() and posixtostrc().
Source#
time.src
See also
Functions date(), datestring(), datestrymd(), time(), timestr(), ethsec()