altus_nel
11 years agoContributor
start time node in Description.tcLog
Hi there,
Does anybody perhaps know how to convert the "start time" nodes' value (in the Description.tclog file) to a human readable form?
Currently it's something like:
<Prp name="start time" type="D" value="41983.5217424306"/>
It would be handy to know how this value is built up and how to convert it to something in the format of %Y%m%d%H%M
I've tried something like new Date().getTime() to get the currentTimeMillis but that does not have the desired effect (and is also completely different).
Thanks!
Altus
Does anybody perhaps know how to convert the "start time" nodes' value (in the Description.tclog file) to a human readable form?
Currently it's something like:
<Prp name="start time" type="D" value="41983.5217424306"/>
It would be handy to know how this value is built up and how to convert it to something in the format of %Y%m%d%H%M
I've tried something like new Date().getTime() to get the currentTimeMillis but that does not have the desired effect (and is also completely different).
Thanks!
Altus
- aqConvert.DateTimeToFormatStr(41983.5217424306, "%Y-%m-%d %H:%M")