equivalent date from GNU to solaris
Tcl has a good free-form date scanner, if you have Tcl installed (try which tclsh). A shell function: tcldate() { d=${1:-now} # the date string f=${2:-%c} # the output format echo “puts [clock format [clock scan {$d}] -format {$f}]” | tclsh } In action on an ancient Solaris 8 box with bash 2.03 and tcl … Read more