Rename uploaded file with local date - time
In process of using DA to build an file upload page.
I'm renaming the file with the registered users credential and i would like to include the date time at the end and before the image extension.
Following is a snip from my upload page - everything works apart from the date/time printing.
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "photos/".$row_rsGetUser['UserLastName'] ."_".$_SESSION['SecurityAssist_UserID'] ."",
'FileName' => "".$row_rsGetUser['UserLastName'] ."_".$_SESSION['SecurityAssist_UserID'] ."_<? php echo date(\"d-m-Y h:i:sa\"); ?>",
Can any point me in right direction please?