switching to internal y-m-d format