added __parseDate() function to convert strng timestamps to POSIX epoch time