Speaking of date/time stuff, is there anything that would convert to the current time zone?
e.g. echo "03/Mar/2013 01:16:52 +0000" | mytz => 02/Mar/2013 17:16:52 -0800
e.g. echo "03/Mar/2013 01:16:52 +0000" | mytz => 02/Mar/2013 17:16:52 -0800
Sun Mar 3 10:05:17 PST 2013
The above converts to the system TZ. Or:
$ echo $( export TZ=CST; date -d "Sun Mar 3 18:05:17 UTC 2013" )
Sun Mar 3 18:05:17 CST 2013
The above converts from any TZ to any other TZ, without resetting your shell's TZ variable.
$ TZ=CST date -d "Sun Mar 3 18:05:17 UTC 2013"
Sun Mar 3 18:05:17 CST 2013
which doesn't invoke a subshell. env vars can always be prepended to the executable name for use with just that program (not sure if that's bash only, though).