Menu
I am attempting to create a CSV or XLS file with information. Below is my header on the script.
header(“Content-type: application/x-ms-download”);
header(“Content-Disposition: attachment; filename=newdowload.csv”);
Issue is, If I have a birth date (mmddyy) the zero is supressed in the month. I need this leading zero. (i.e. 04012001 comes in the XLS file as 4012001).
Any help here would be appreciated.
Thx,
DPK