add conversion fron string to time