How to remove time stamp from date field in InfoPath form?
شنبه, ۲۳ مرداد ۱۳۹۵، ۱۰:۴۵ ب.ظ
It looks like this: 2016-01-01T00:00:00
Figured it out without any custom code! I just added this to the function:
substring-before(now(), "T")
This extracted all the text before the "T"!