Select to view content in your preferred language

Adjust System Date dynamic text in print layout

101
2
Tuesday
Labels (1)
AmberKelly
Regular Contributor

Hi,

We have created a print layout template for use in our ArcGIS Enterprise Portal. We have added the System -> Current Time dynamic text value. 

When viewed in ArcGIS Pro it all looks correct however once published to Portal and used to create a print the Date and Time values we are seeing are in UTC. We think this is due to the servers the Portal is installed on being in UTC (unfortunately this cannot be changed).

Is there a way I can add 10 hours to the UTC time/date to reflect our local timezone? I'm reading this can be done with Table Attribute -> Value but as our layout is a print template and has no layers, we are unable to use the Value dynamic text.

Thanks 

Amber

 

2 Replies
JonM32
by
Frequent Contributor

@AmberKelly 

Maybe try this: <dyn type="expression" script="var currentTime = Now(); DateAdd(currentTime, 10, 'hours');" format="short|short"/>

If you publish this arcade statement in place of the current one your using, it may work how you want?

Let me know how it works out!

If this helps or is the solution, please consider a kudos or solution

Jon
0 Kudos
AmberKelly
Regular Contributor

Thanks for responding Jon 😊

Unfortunately that approach didn't work. 

Cheers

Amber

0 Kudos