Skip to content

Instantly share code, notes, and snippets.

@KyMidd

KyMidd/data.sh Secret

Created April 12, 2024 19:40
###
### Date
###
current_date_in_epoc=$(date +%s)
number_of_seconds_in_a_month=$((60 * 60 * 24 * $max_days_inactive))
date_one_month_ago=$(($current_date_in_epoc - $number_of_seconds_in_a_month))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment