what is the preferred way to insert today's date in a Celigo Integrator.io data mapping?
r
rico
01/22/2020, 7:59 PM
@matt.graney
a
al3xicon
01/22/2020, 9:30 PM
you know what, I ended up just including the values I needed in my saved search results from NetSuite, and using them to pass back in when updating the record. turned out i needed a datetime value anyway and it's a lot easier to get the proper local time from NS in a saved search than to try and calculate it in JS
al3xicon
01/22/2020, 9:30 PM
i'm still curious to know the correct handlebar expression though
m
matt.graney
01/22/2020, 10:53 PM
@al3xicon Check out the Handlebars reference doc in the integrator.io KB. {{dateFormat}} without the βdateβ parameter will evaluate as the current date/time, and you have options to format the date/time as needed.
π 1
a
al3xicon
01/22/2020, 11:08 PM
I was thinking that might do it, and I had the guide pulled up but only skimmed it π thanks @matt.graney for the heads up, will file that one away for next time.