cancel
Showing results for 
Search instead for 
Did you mean: 

How to parse the Time format in log description file?

Occasional Contributor

How to parse the Time format in log description file?

Hi All,

I have a script(Jscript) which parses through "Description.tcLog" and gets the node values like user name, error count and warning count.



But the start and end time is in different format and i can't parse it.



Can you help in converting this time format to which user can understand.
2 REPLIES 2
Contributor

RE: How to parse the Time format in log description file?

Try this:



var converted = aqConvert.CurrencyToStr(start time)

var temp = aqConvert.StrToFloat(converted );

Log.Message(aqConvert.DateTimeToStr(temp));
Occasional Contributor

RE: How to parse the Time format in log description file?

Thanks Enrique !



I am able to parse it.


New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors