This might be the most stupid question ever asked here, but I can’t find it! I want to output the current time! As in "time()". I’ve tried a snippet but the format :strftime doesn’t do anything, even when, in a snippet, I assign it to a placeholder. I guess there must be a simple solution which is most likely already programmed in to the core?
I want to use it like so [[+timestamp:strftime=`%d-%m-%Y`]] (or anything more humanly readable)
@MarkGHErnst
Developer at Adwise Internetmarketing, the Netherlands.
Try [[!+timestamp:strtotime:date=`%d-%m-%Y`]]
-
☆ A M B ☆
- 427 Posts
I have this in a TV:
<span class="docCounts fltRight">[[*publishedon:strtotime:date=`%a, %d %b %Y %T`]]</span>
I Believe it comes out something like: Thu, 19 Jul 2001