add code for today date in my php class/function

newphpcoder's Avatar, Join Date: Sep 2010
Ambitious contributor
Good day!

I want to know what is the syntax for date(dd-mm-yyyy) and how can I insert it to my code:
PHP Code:
$Mail->Subject 'Preview/' $this->csvUploadPaymentDetails[0]['csvfilename']; 
Sorry, because I'm not familiar with class and function.

i want toe result is Preview/Filename/Date/

Thank you so much
pein87's Avatar
Ambitious contributor
Don't include the file name with extension. The title is just a way to describe what the content is. Add the file info in the content.
newphpcoder like this