/ Published in: Other
This syntax creates a new STRING variable from a DATE variable in the form CCYYMMDD.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
STRING date1str (A8). COMPUTE date1str=CONCAT(STRING(XDATE.YEAR(date1),F4.0),STRING(XDATE.MONTH(date1),N2),STRING(XDATE.MDAY(date1),N2)).