use dateWithString for parsing