added date conversioning fxn