Time format method.
Change state name.