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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.