1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 13:59:02 -08:00
rc/sh/days

2 lines
83 B
Bash
Executable file

#!/usr/bin/env bash
echo $(( ($(date +%s) - $(date -d "$1" +%s)) / 60 / 60 / 24 ))