‎30-05-2017 09:26 AM
Hi Community,
We have seen a strange behaviour in the tool.
The modification date an object in properties window and modification date from API has two hours difference.
Can any body tell us why this is happening.
Thanks and Regards,
Venkatesh
‎15-08-2018 09:06 AM
Hey Jerome
I have the same case here and I was wondering can we change the timezone of the tool?
It's difficult for users to work with and causes many issues.
Thank you,
‎30-05-2017 12:30 PM
Hello
This difference is probably related to timezone and daylight bias
In the HOPEX repository, dates are stored in UTC time.
-> use internal format to get/set such dates
The GUI displays the date with end user settings (timezone, daylight bias)
-> use external format to get/set such dates
Get date with internal format
oObject.GetProp("~DNS5)lXo4jC0[Absolute Start Date]","Internal")
Get date with external format
oObject.GetProp("~DNS5)lXo4jC0[Absolute Start Date]","External")