Forum Discussion

NOELHODGES's avatar
NOELHODGES
Qrew Cadet
10 months ago

Pipeline date format

My pipeline is sending out emails with a Due date. I would like the field only to display the date only right now it is displaying. 2023-07-03 00:00:00+00:00. 

How do I format only to show just the date part: 2023-07-03



------------------------------
NOEL HODGES
------------------------------

2 Replies

  • Your best bet is to use jinja to convert it using the sfrftime syntax. 

    Here is the full article with multiple examples but here is one: 

    In your case you'd be doing strftime("%Y-%m-%d") based on your example of having YYYY-MM-DD but here is the full strftime list if you need to adjust



    ------------------------------
    Chayce Duncan
    ------------------------------
    • NOELHODGES's avatar
      NOELHODGES
      Qrew Cadet

      Thank you! jinja {{a.date|date_ymd}} did the trick!



      ------------------------------
      NOEL HODGES
      ------------------------------