Editing Variables?

I am currently editing the invoice template using the documents editor (using v4.5.2) and I was wondering if there is a way to edit a variable? Specifically, I would like to edit {{ o.timestamp }} so it only shows the date (currently it give the date and time). Is this at all possible?

Many thanks!

Date and time format is got from Settings. You can change format in the following file


$this->default_datetime_format = $this->settings['Appearance']['date_format'] . ', ' . $this->settings['Appearance']['time_format'];

Thank you eComLabs for the advice, as this did exactly what I needed. I removed ". ', ' . $this->settings['Appearance']['time_format']" and it did remove the time stamp. :grin:

You are welcome!