What's new

Welcome to NullScriptz - NulledScriptz

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Share your content here:

Don't want to upload to our server on NullScriptz, Then share it now on our partner shareupld.com! Upload for free or take a subscription to be sure your files are save !

Knowledge Base

We are building our knowledge-base, find your answers! Or get directly in contact with us by creating a ticket. (In progress..)

  • NullScriptz.nl is for SALE!

    More information, please contact: WinSys32 or mail to: nullscriptzsale@gmail.com

    Buy-Now: $3.000,00
    +/- Unique visitors (Monthly): 10.000+ (Now lower due to inactivity of me) | Average income (Monthly): €100 - €500 + Domain + Server and all files and databases.

[RSS Feed/News] Proper use of date_from_format

NS Bot

Moderator
Staff member
LV
0
 
Joined
Mar 31, 2020
Messages
18,870
Reaction score
131
Points
63
Awards
2
Website
nullscriptz.nl
Country flag
Here is the issue, I have a date format of
Code:

2019-12-24T15:46:23.978Z
and I'm needing to form that into a proper date and time in my XenForo addon. This is being pulled using JSON.

Thanks to @Sim in another thread, we figured out so far the following:
HTML:

{{ date_from_format("Y-m-d\TH:i:s:u\Z", $posts.created_at) }}



In the screenshot, there should be a properly formed date and time between the icon and dash but instead I'm left with a blank.

I really want to get...



 

Birthdays

Latest resources

Top Bottom