https://github.com/pistonite/addtime
Adder of Time
https://github.com/pistonite/addtime
Last synced: about 2 months ago
JSON representation
Adder of Time
- Host: GitHub
- URL: https://github.com/pistonite/addtime
- Owner: Pistonite
- License: mit
- Created: 2024-05-08T17:43:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T21:08:03.000Z (6 months ago)
- Last Synced: 2025-02-03T10:33:35.079Z (4 months ago)
- Language: TypeScript
- Homepage: https://pistonite.github.io/addtime/
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://addtime.pistonite.dev/appscript.txt)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
```typescript
import { calc, ratio } from "addtime.ts";
```