没有按照文本字段日期格式设置InfoPath Today()的格式 [英] InfoPath Today() is not formatted according to the text field date format
问题描述
在我的InfoPath 2013表单中,我有一个文本字段,其格式设置为:
In my InfoPath 2013 form, I have a text field with a format set as:
Today()继续以这种方式显示它,这会引发错误,因为它认为其中没有日期:
The Today() continues to display it this way which throws an error because it doesn't think it has a date in it:
我已经尝试过Now(),但这也不起作用.有什么想法吗?
I've tried Now() and that doesn't work either. Any ideas?
谢谢! Patti N.
Thanks! Patti N.
推荐答案
嗨Patti
Hi Patti
请尝试以下
hanged the Data type to Date and reformatted the rule to use now() instead of Today(). That returned the date as mm-dd-yyyy format.
https://social.technet.microsoft.com/Forums/sharepoint/zh-CN/ef16970a-5b1f-4b46-a0ec-b43d10a2eed1/format-date-to-show-ddmmyyyyy-in-infopath?forum=sharepointcustomizationprevious
https://social.technet.microsoft.com/Forums/sharepoint/en-US/ef16970a-5b1f-4b46-a0ec-b43d10a2eed1/format-date-to-show-ddmmyyyy-in-infopath?forum=sharepointcustomizationprevious
这篇关于没有按照文本字段日期格式设置InfoPath Today()的格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!