Hi
im trying to automate a form with the today date format, saw the youtube video tutorial and managed to work with in variable tab with:
today = javascript:(new Date()).toLocaleDateString('pt-PT', {day:'numeric', month:'numeric', year:'numeric'})
and with {@today} on the field i want
the only problem is that im getting the data as DD/MM/AAAA format and needed it to be in DD-MM-AAAA
Anyone know how i can change the / to - ? already tryed some tips but still couldnt figure how to make it work
Thanks for the help