rename getTime to convert method