Forum Discussion

DonLarson's avatar
DonLarson
Qrew Commander
3 years ago

Pipeline Date and Date Time Syntax

I have been searching for the Syntax to match

Today()
Now()

in Jinja for Pipelines.

Somebody must have solved this already.

------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------

2 Replies

  • Ms. Quickbase Junkie seems to be the whiz at this Jinja syntax.

    https://www.quickbasejunkie.com/blog/today-is-bad-jinja?cid=53168938-c32c-4476-a6c3-2c3ae26c87d8

    I believe its {{time.today}}
    and {{time.now}}

    But there may be some nuances of what the time zone is.  Sharon says in her blog that you need to specify the time zone, but then I did a Pipeline without specifying the time zone ( for my purposes it did not matter) that and it did work in the time zone of the app.



    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • DonLarson's avatar
      DonLarson
      Qrew Commander
      Mark,

      Thanks for the push to her blog post on this.   I am going to bookmark it.

      I can see there is a suitably complex level of syntax here.   What was once simple in QB  is now complicated.  However that is the price for the increased power.

      ------------------------------
      Don Larson
      Paasporter
      Westlake OH
      ------------------------------