BirdNET-stream/daemon/weekof.sh

9 lines
96 B
Bash
Raw Normal View History

2022-08-12 18:01:01 +02:00
#! /usr/bin/env bash
function weekof()
{
local date=$1
date -d "$date" +%W
}
weekof $1