X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/50aec1144a254b0a51fc5748cbff73ef770bc2e2..7b6cb145797f1fe6b6a49b40839e843f09b3f515:/unitproc/bktemp-dateShort?ds=sidebyside diff --git a/unitproc/bktemp-dateShort b/unitproc/bktemp-dateShort index 38b39eb..59d23f8 100644 --- a/unitproc/bktemp-dateShort +++ b/unitproc/bktemp-dateShort @@ -5,6 +5,7 @@ dateShort(){ # Desc: Date without separators (YYYYmmdd) # Usage: dateShort + # Version: 1.0.0 # Output: stdout: date (ISO-8601, no separators) local TIME_CURRENT DATE_CURRENT_SHORT TIME_CURRENT="$(date --iso-8601=seconds)" ; # Produce `date`-parsable current timestamp with resolution of 1 second.