If you have a symmetry and use the principle of least action, you will get a conservation law! This is the Noether theorem. The "symmetry" is time and the Lagrangian mathematically describes this principle of least action. Which is very useful because you arrive to a conservation law. Nevertheless, thermodynamics tells that time is not a symmetry! the time in the future will have more entropy than the one in the pass. How can we put a non-symmetrical time in the Noether theorem? A entropic Lagrangian? I think there is a very big problem with time!