I'm new here and new to xml
Basically have this xml code at the moment:
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="yes"?><document>
<event category="Interaction" time="05/06/17 15:39:59.162"> Run.Pressed=False</event>
<event category="Interaction" time="05/06/17 15:40:00.060"> File.SaveAs.IO=C:\My Documents\Waveforms\20170605-0002.psdata</event>
the above code saves file 20170605-0002.psdata to the specified file location.
what I would like to be able to do is instead of having a static filepath string as above, I would like to add the systemtime (current PC time) to the filename.
Can anyone please help me with writing that bit of code? Thanks