simplify getDateString()

can just call strftime instead of manually parsing timestamp.
Turn COL from #define to char*

No need for #define and strncpy when pointers will work just as well.
Merge pull request #6 from subtleq/master

simplify getDateString()