display time variable class in error msg