NetXMS Support Forum

English Support => General Support => Topic started by: suphu on October 05, 2022, 01:32:48 AM

Title: System.CurrentTime clarification
Post by: suphu on October 05, 2022, 01:32:48 AM
Hi,

agent and server version 3.9.178
I created a DCI with the agent parameter System.CurrentTime.
I validated timezone settings for multiple windows servers on which agents are running and the collected time is the same.
Should System.CurrentTime represent the current local time of the windows server where the agent is installed?

Thanks. 
Title: Re: System.CurrentTime clarification
Post by: Filipp Sudanov on October 05, 2022, 05:20:59 PM
System.CurrentTime returns unix time in UTC time zone.
You can use System.TimeZone to get time zone.