CIM_BaseMetricValue duration

kamal jeera <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
Hi,


In CIM_BaseMetricValue we have this property:   datetime Duration

I am trying to set to like 10secs  i.e the output should be like: Duration =
"00000000000010";

I used following logic:

pdur.value.uint64 = 10;
duration = CMNewDateTimeFromBinary(_brokerIn,pdur.value.uint64,1,NULL);
CMSetProperty(instForMe,"Duration",&duration,CMPI_dateTime);

But I was getting output something like: Duration = "19700101115549"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.