added string date to seconds