Welcome Guest, Not a member yet? Register   Sign In
Reformat date from CURRENT_TIMESTAMP
#1

quick question: is it possible to reformat a CURRENT_TIMESTAMP generated timestamp from MySQL



Code:
Y-m-d h:i:s

to

d.m.Y h:i:s



in parser? I cannot find any Provided Filter.

Example, but that doesn't work:


Code:
{changetable}

                  <tr>
                    <th scope="row">{timestamp|date(Y.m.d h:i:s) }</th>
                    <td>{message}</td>
                  </tr>

{/changetable}
Reply


Messages In This Thread
Reformat date from CURRENT_TIMESTAMP - by MikiStoni - 02-22-2020, 02:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB