update parser date

new function for parser date