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 |
| M | Months as 1-12 |
| MM | Months as 01-12 |
| MMM | Months as Jan-Dec |
| MMMM | Months as January-December |
| d | Days as 1-31 |
| dd | Days as 01-31 |
| ddd | Days as Sun-Sat |
| dddd | Days as Sunday-Saturday |
| y | Years as 0-99 |
| yy | Years as 00-99 |
| yyyy | Years s 1900-9999 |
| gg | Period/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 of S.Y.M. Wong-A-Ton. Usage of 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, S.Y.M. Wong-A-Ton.



