Time is dispensable in thermodynamics