parse the timestamp from a rxlog.data file using c#
Posted: Mon Oct 26, 2015 9:36 pm
as a part of my project i need to parse the timestamp from a rxlog.data file to determine the start date and time in my script that need to stat with that date and time. for this do i have to use linq to xml method for parsing the timestamp.?
<report>
<activity
user="chanderu"
host="CA630029"
rxversion="5.3.2.23378"
osversion="Windows 7 Service Pack 1 64bit"
runtimeversion="4.0.30319.34209"
procarch="32bit"
language="en-US"
screenresolution="1600x1200"
timestamp="8/12/2015 9:47:05 AM"
the last line shows the timestamp that needs to be parsed in to my script using c# coding.
<report>
<activity
user="chanderu"
host="CA630029"
rxversion="5.3.2.23378"
osversion="Windows 7 Service Pack 1 64bit"
runtimeversion="4.0.30319.34209"
procarch="32bit"
language="en-US"
screenresolution="1600x1200"
timestamp="8/12/2015 9:47:05 AM"
the last line shows the timestamp that needs to be parsed in to my script using c# coding.