Skip to content

Woolction/Time-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏱️ Time Calculator

A time calculator built with Unity that allows you to perform mathematical operations with time values in a convenient format. It supports complex expressions, parentheses, and two different time input formats.

🚀 Features

  1. Time calculations.
  2. Mathematical operations: Addition (+), Subtraction (-), Multiplication (*), Division (/), Parentheses (())
  3. Two input formats
  4. Automatic result conversion
  5. Support for hours, minutes, and seconds

🕒 Time Input Formats

Format with suffixes (using buttons)

In this mode, special buttons are used:

h — hours

m — minutes

s — seconds

Example: Input: 10h + 10m → 10:10:00

You can also use seconds: 5m + 30s → 00:05:30

IMPORTANT: With very large time values, errors may occur, which can cause the expression to be automatically cleared.

Standard time format

Input is entered in the following format:

00:00:00 where:

the first 2 digits — hours

the second 2 — minutes

the third 2 — seconds

Example: 01:30:45 + 00:15:15 → 01:46:00

🛠️ Development

The project is developed in Unity. The calculator logic processes both mathematical expressions and time formats with automatic conversion to the standard HH:MM:SS format.

About

This is an open source calculator for counting time, built on Unity.

Topics

Resources

License

Stars

Watchers

Forks

Contributors