Changes To DateStringToTimestamp function

Fixed issue where date string was not converting to time stamp
correctly.