Skip to content

jinkang-0/DateCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Date Calculator

Do math operations on dates using text inputs.

Implemented Features:

  • Addition and subtraction
    • +[amount] [unit]
    • -[amount] [unit]
    • Supported units: second, minute, hours, days, weeks, months, years (and their abbreviation)
  • Comparison of dates
    • diff [month] [day] [year]
    • diff [month] [day] [year] [hh:mm(:ss)]
    • diff [month] [day] [year] [hh:mm(:ss)][am|pm]
  • Setting anchor date
    • set [month] [day] [year]
    • set [month] [day] [year] [hh:mm(:ss)]
    • set [month] [day] [year] [hh:mm(:ss)][am|pm]
  • Set original time to working time (setorg)
  • Reset time to original time (clr)
  • Update time to current time (now)
  • Show current working time (show)
  • Display a list of commands (help)
  • Keeps track of logged commands (use up and down arrow to navigate)

GitHub Page:

https://jinkang-0.github.io/DateCalculator/

About

A calculator that does math operations on date and time.

Resources

Stars

Watchers

Forks