How to change the timezone of the timestamp in export set

Keith17
Kilo Explorer

Hi, 

I am using export set and want to add a timestamp in my local timezone to the file name.

I tried to use the append timestamp option in export set, but the timestamp created is in UTC-7 timezone, which is not my local timezone.

Are there any way to change the timezone of the timestamp?

Regards, 

Keith

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Keith,

As far as I know the timezone the system takes while appending on the file name depends on the system timezone.

There is a system property for this "glide.sys.default.tz"

If this is blank it means it is 

US/Pacific or America/Los_Angeles

you can try changing this to some other value such as US/Central and check if filename gets appended with the CST time when export set ran.

Note: The system property change would be a global change in the servicenow instance. So please check one testing is completed

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur, 

Thanks for the reply.

I have tried to change the system property "glide.sys.default.tz" to US/Central and run the export again, but the timestamp in the exported file name is still in UTC-7 timezone.

find_real_file.png

Regards, 

Keith

Hi Keith,

This timezone seems to be US/Pacific.

I haven't tried this out earlier. One more thing you can check is with which user the export is running.

Check what timezone is present for that user.

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur, 

I have tried to change the timezone of the user to different values, but the result is still unchanged.

find_real_file.png

Regards, 

Keith