AnsweredAssumed Answered

Custom formating of date field on datadriven layout

Question asked by arildj78 on Oct 16, 2016

I have a datadriven layout where one of the underlying datafields contain the datetime of the last change to that page. I'd like to display that date in the format 16 Oct 2016. On ESRIs page on Date, Time and Dynamic Text, it is suggested to use the format tag to achieve this behaviour. However, all the examples seems to use current datetime and not data from the page data. 

This label gives datetime of export

<dyn type="layout" name="MyLayout" property="dateExported" format="d MMM yyyy"/>

 

This label gives datetime of my datafield in this format: 10/16/2016 6:40 PM

<dyn type="page" property="RevisedDateString" format="d MMM yyyy"/>

 

How can I format my datetime data properly?

Outcomes