web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Liquid Code date format

(0) ShareShare
ReportReport
Posted on by 54

i want to format date as Oct 23 | 14:23 in my web template

i tried using the formats in https://shopify.github.io/liquid/filters/date/ but most of them are not working

for example Y should return 2020 but its just rendering Y where as y is only rendering 20

Any thoughts?

I have the same question (1)
  • Vinay K Gupta Profile Picture
    10 on at
    RE: Liquid Code date format

    Since the conduct of this area is User Local, the date is in UTC, which is 09/10/201802:00:00.  I would suggest using either https:/momentjs.com/ or http:/timeago.yarp.com, both of which are included as libraries in Portal, if you want to view in the user browser timezone.

    Liquid filters could also be used if you wanted to supply UTC with the hard-coded offset{{ result['sa.cca paiduntil'] date add hours: 10}}

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 284

#2
Sohaib Cheema Profile Picture

Sohaib Cheema 104 User Group Leader

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 77

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans