complete time parsing method