Untitled

Anonymous
Plain Text
01/10/2025 2:06 PM
214 B
10
Indexable
Never
start=$1
end=$2
start_sec=$(date -d "$start" +%s)
end_sec=$(date -d "$end" +%s)
diff_sec=$((end_sec - start_sec))
printf "%02d:%02d:%02d\n" $((diff_sec / 3600)) $(((diff_sec % 3600) / 60)) $((diff_sec % 60))
Editor is loading...
Leave a Comment