create class;
add method strToDate