read and save date as char