C = dat2char(Dat,...)
Dat
[ numeric ] - IRIS serial date numbers that will be converted to character array.C
[ char ] - Character array representing the input dates; each line of the array represents one date from D
.See help on dat2str
for options available.
We create a quarterly date using the function qq
; this function returns an IRIS serial date number. We then use dat2char
to print a humna-readable text representation of that date.
d = qq(2015,3)
d =
8.0620e+03
dat2char(d)
ans =
2015Q3