InfoPath 2010 Tutorial: InfoPath format date function

In this InfoPath 2010 tutorial video you will learn how to use an XPath function to format a date in InfoPath 2010.

You can use the following formats with the format-date XPath function:

Character(s)Description
MMonths as 1-12
MMMonths as 01-12
MMMMonths as Jan-Dec
MMMMMonths as January-December
dDays as 1-31
ddDays as 01-31
dddDays as Sun-Sat
ddddDays as Sunday-Saturday
yYears as 0-99
yyYears as 00-99
yyyyYears s 1900-9999
ggPeriod/era (ignored if there isn't one)

See more InfoPath 2010 tutorial videos »

 


Related InfoPath Articles:

 

Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author.

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services