Using variable inside awk

i have an old SunOS

# uname -a
SunOS vaiconp01 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V240
# date +"%m/%d/%Y %H" -d "1 hour ago"
08/06/2009 17
#

another option would be to look for a timezone which is late by an hour(could not think of anything else)

# HOURAGO=`TZ=GMT-2 date +"%m/%d/%Y %H"`
# echo $HOURAGO
08/06/2009 16
# date +"%m/%d/%Y %H"
08/06/2009 17

at least you get the idea

---------- Post updated at 10:37 PM ---------- Previous update was at 10:36 PM ----------

just play around with GMT+-number