date convertion added for datetime convertion functions