Skip to content

Time Translator is a Python tool to convert a specific amount of time into a cleaner shape.

Notifications You must be signed in to change notification settings

BloodAlibi/Time_Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Time Translator

Time Translator is a Python UI tool to convert static amount of time into a better shape. It can convert hours to weeks, or even seconds to months.

Examples of uses

We will use 3 situations where we can convert a certain amount of time into a better-looking sentence.

  • 52 hours : 2 days and 4 hours
    Snipaste_2022-12-04_12-02-08

  • 200 seconds : 3 minutes and 20 seconds
    Snipaste_2022-12-04_12-02-34

  • 98504 seconds : 1 day, 3 hours, 21 minutes and 44 seconds Snipaste_2022-12-04_12-04-29

How to use

You can indicate your time with this format to convert it : [Number] [Type]

[Number] represents your time, for example, 500 in 500 seconds. [Type] represents the type of time. Here is a list of the different types the program can deal with :

  • S for seconds
  • Min for minutes
  • H for hours
  • D for days
  • W for weeks
  • M for months

Examples :

  • 80H -> 80 hours
  • 9Min -> 9 minutes
  • 61W -> 61 weeks
  • 870S -> 870 seconds

After using it once, the program will automatically ask for a new input, without deleting the past outputs.

About

Time Translator is a Python tool to convert a specific amount of time into a cleaner shape.

Topics

Resources

Stars

Watchers

Forks

Languages