Skip to main content
Nintex Community Menu Bar
Question

Get current date?

  • July 9, 2024
  • 4 replies
  • 44 views

Forum|alt.badge.img+9

Is there a way to get the current date to use in a template or a page title? It isn’t a field in any model that I have on my page.

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+13

The easiest way to do it would be to add a Formula field of type Date called “Today__c”, whose formula is “TODAY()”, on the object whose Model you’d use for the PageTitle component, and then include that field in that Model. Then you could use it like any other field. There’s currently no merge field in the Skuid API that just gives you the current date, but it would be nice to have one!


Forum|alt.badge.img+5
  • 35 replies
  • July 9, 2024

Is this still true?


Forum|alt.badge.img+17
  • Nintex Employee
  • 3766 replies
  • July 9, 2024

If you don’t mind going to javascript you can use this syntax:  

$.datepicker.formatDate('dd/mm/yy', new Date())


The JQuery datepicker format utilitity provides lots of ways to format the date.   (http://api.jqueryui.com/datepicker/)  


Forum|alt.badge.img+5

Could also do this as well (from here: http://help.skuidify.com/s/tutorials/m/11720/l/129505-skuid-time): 

skuid.time.getSFDateTime( new Date() );