Help with formatting Date/Time string
tcj103
The format is YYYY-MM-DDTHH:MM:SS.SSSZ There is also a leading single-space before the year. I could cook this out in Excel and format it, except the files I'm looking to work with are even too big for Excel in some cases (over 1,000,000 rows).
I've tried the "Tweaks" options, but that doesn't seem to get it there. Using smaller files, I've re-formated them in Excel and Igor has succesfully pulled them in, but that was by manually changing the - to /.
I'm still experimenting, found the RemoveByKey command, and some others like SplitString.
Thanks
2014-03-31T12:13:14.567Z
this command loads it:
If that does not solve the problem then please post a representative section of the actual file to be loaded.
March 31, 2014 at 09:18 am - Permalink
I've uploaded some sample data. This is as loaded from the other program, including leading blank spaces in the date/time column. Note that I can put the data in any order for the input file (input to Igor that is).
Thanks again
March 31, 2014 at 02:57 pm - Permalink
This is because LoadWave/J will start loading from the first line (line 0) unless instructed otherwise and line 0 contains text, not date/time data. To make it start loading from the second line (line 1), you need to use the /L flag. I also added /W to have it read the wave names from line 0.
The /B flag which I used before is not needed because LoadWave/J deduces that the first column is date/time given the correct /L and /R flags.
The result is:
March 31, 2014 at 05:08 pm - Permalink
Thanks again for the help!
April 2, 2014 at 06:12 pm - Permalink