this displays time in a gmt+x way, just the way a user can set.
e.i: i want gmt+1, so i set gtm to gmt+1 in my user preferences, and it dislpays the time in gmt+1.
the $gmt is the number that you have to add/diminish to/from $hour, the other vars are necessary because of the date.
Greetz,
UnrealEd