Auto-update date text and version number in a text box

时间:2018-02-26 17:46:35

标签: python xml arcgis

In ArcGIS Pro I have a dynamic text box (I believe it's XML or python..??) which currently contains some static text regarding the current version of our dataset and the date it was released. The text string looks like this:

Official Licensed Data: V1_60_20170226

I need this to dynamically update.
'V1' will always stay the same.
'60' will always change by increments of 1 every time the string updates
'20170226' will change every 7 days, on the day.

So in 7 days time, I want the text string to read:

Official Licensed Data: V1_61_20170305
How can I go about acheiving what I want?

I know that to import the current date it is:

<dyn type="date" format=""/>

0 个答案:

没有答案