Apologies if this has been answered before... but I really did search the forum and couldn't find specifically what I was looking for.
I'm trying to automatically get the current date which I found -- ($.rawValue = num2date(date(), DateFmt(4)). However the 4 date formats available do not meet our standard format of YYYY-MM-DD. Is there a way to get the current date to automatically display in this format, including the padded two-digit month and day fields?
AND once the date field is filled in... it is "locked" into place so when the document is opened again, the original date is not replaced by the new "current date".