cancel
Showing results for 
Search instead for 
Did you mean: 

How to parse the Time format in log description file?

Highlighted
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
Highlighted
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));
Highlighted
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
Script Wanted
A new challenge is here!

Create a function to drag one element to another for the TechCorner tag!

Will you dare to take the challenge?


Scripts created in July:
- Passing custom command-line arguments as a test parameter
Top Kudoed Authors