I have a csv file with four columns that contain a date.
StartDate, EndDate, ActionDate, MaturityDate 18/01/2013, 18-01-2013, 18-01-2013 07:59 PM, 18-01-2013 19:59
I am loading this into a table with:
myTable:("DDDD";enlist ",") 0: `$":/home/myuser/test.csv"
my table headers are OK, but the dates come in blank. I assume that is because Q only understands yyyy.mm.dd Unfortunately I have no control of the format of the csv files. I could re-format it with a python script before loading it into kdb, but is that the best way? Can I do that somehow in Q and make it understand these strings as dates?
Thanks