T Trần Vũ New member Jan 12, 2022 #1 How does shell script calculate time difference? Answer An integer value of elapsed seconds: Bash variable SECONDS (if SECONDS is unset it loses its special property). … Bash printf option %(datefmt)T : a=”$(TZ=UTC0 printf ‘%(%s)Tn’ ‘-1’)”
How does shell script calculate time difference? Answer An integer value of elapsed seconds: Bash variable SECONDS (if SECONDS is unset it loses its special property). … Bash printf option %(datefmt)T : a=”$(TZ=UTC0 printf ‘%(%s)Tn’ ‘-1’)”