Set variable to current time
suggest change$ printf -v now '%(%T)T'
$ echo "$now"
12:42:47
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents
$ printf -v now '%(%T)T'
$ echo "$now"
12:42:47