guess date from string