pf:FormattedDateValue

pf:FormattedDateValue indicates whether a date component without a specified value is empty or is set to Unknown.

If you use both the Value attribute and the pf:FormattedDateValue attribute:
  • The parts of the date that you supply in the Value attribute must exactly match the value in the pf:FormattedDateValue attribute.
  • The parts of the date that are unspecified in the Value attribute must be unspecified in pf:FormattedDateValue. However, in the pf:FormattedDateValue attribute, unspecified date parts are identified as either No value supplied or Date part unknown.

The following example shows a date/time control where the month and hour are Unknown, and the day and minute are not entered:

<ItemData ItemOID="frmA.sctB.itmC.dtcDateD "

Value="2015----T-:-" 

pf:FormattedDateValue="2015-UNK-NULTUNK:NUL:NUL"/>

The pf:FormattedDateValue element allows you to specify the value UNK for parts that are Unknown and NUL for parts that were not specified.