Skip to content

Pistonite/addtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

addtime

Adder of Time https://addtime.pistonite.dev

To use in Google Sheet Apps Script

In your Google Sheet, go to Extensions > Apps Script, and paste in this script

The following functions are available:

  • ADDTIME - Adds a range of cells of time expressions
  • SUBTIME - Subtracts 2 cells of time expressions
  • DIVTIME - Divides 2 cells of time expressions

To consume as TypeScript library

Simply copy the TS source to your project

curl https://pistonite.github.io/addtime/dist.ts > somewhere/addtime.ts 

Then import and use

import { calc, ratio } from "addtime.ts";