How to use the FormatDate and GetWeekDay commands - InfoPath Dev
InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects.
Installation and Setup
WSSP v2.2 [Japanese]
WSSP v2.3 [Japanese]
Side by Side
Excel to XML
Samples and templates
Having trouble finding a blog or post that answers your question?
Check out our Custom Search Page
How to use the FormatDate and GetWeekDay commands
qRules v2.1 includes two new commands that allow you to work with the date fields in your InfoPath form. GetWeekDay allows you to specify a date and a weekday, and the command will return the date value for the specified day of the week. This would allow us, for example, to obtain the Monday relative to the start of the current week. FormatDate, on the other hand, will allow us to change the format of a date value. This tutorial will walk you through an example where the two commands are used together. First we will generate a list of Mondays to select from. After we have a list of Mondays, we will reformat the date values into a more user-friendly format. Click DOWNLOAD to obtain this tutorial.
Filed under: FormatDate, qRules v2.1, GetWeekDay
No comments exist for this file.