How to parse DATE into Date in *.t6

Posted By: Zheka

How to parse DATE into Date in *.t6 - 03/28/18 20:17

Hello,

The first, date field of my input price data file is already in DATE format - which is a double.

What's the correct way/format to parse it into DATE in the output *.t6 format?
All format codes for dataParse seem to assume floats..

Thanks!
Posted By: Spirit

Re: How to parse DATE into Date in *.t6 - 03/30/18 10:11

There is no format code for an ASCII DATE value, I would use %t to import it as Unix time, then go through the file and convert it back to DATE time.
Posted By: Zheka

Re: How to parse DATE into Date in *.t6 - 04/02/18 09:29

Yes,that's what I came to after some trial. Thank you.
© 2024 lite-C Forums