[RSS Feed/News] Showing raw date/time in template

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello,

I'm composing a new template and I need the raw, non-formatted date/time information. If I use this...

Code:

<xf:date time="{$thread.first_post_date}" />

...it shows something like...

Code:

<time class="u-dt" dir="auto" datetime="2022-12-13T09:55:27+0100" data-time="1670921727" data-date-string="13 Dic 2022" data-time-string="09:55" title="13 Dic 2022 a las 09:55">Today at 09:55</time>

But I only need "2022-12-13T09:55:27". Is there a template variable/code to get only that...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom