Hi,
I would like to format date-based TVs like [*createdon*] to a readable form. From what I’ve read, it seems that a snippet might be called for. I tried this (and various variations with or without quotes around the TV call, putting a Unix timestamp there works fine):
<?php
$zeitstempel_zu_datum = "[*createdon*]";
echo strftime("%d/%m/%y, %H:%M:%S", $zeitstempel_zu_datum);
?>
which doesn’t work, but results in a parsing error.
Is there a way to use a TV in a snippet like I tried or do I need to pull the create date from the database as in the AuthorTime snippet?