its a perfect program of time conversion

Well, it's not horrible, but I wouldn't use the word "perfect" as a descriptor. You could start by learning to format your code in a sane manner.