BirdNET-stream/daemon/weekof.sh

9 lines
96 B
Bash
Executable File

#! /usr/bin/env bash
function weekof()
{
local date=$1
date -d "$date" +%W
}
weekof $1