When I target to VC (PerfEntityMetric) pValues[j]).getSampleInfo(sampleInfoLen-1).getTimestamp().getTimeZone() gives me one time zone and at the same moment if I target ESX directly gives me different time zone. So how can I handle this? Is there any way to suppress this difference ?
thanks
Both timestamps are in GMT, not local time. The timezone is only provided if you wanted to know the servers local time.
Tom
Yes. Timestamps are in GMT. when targeted to VC timestamp shows timezone as GMT. when targeted to ESX timestamp shows timezone as GMT+05:30. So this is what is happening.