added string to timestamp conversion