if you store date in char array you will not need to call c_str()