Fix for date's being messed

Fixed wonky code in the Date parser and sorted out some incorrect values
Added test for datetime