#!/bin/bash echo `date +%H:%M:%S:0.%N | awk -F "[d :]" '{printf "%.10f", (($1*3600)+($2*60)+($3)+($4))/86400.0 }'`