Argument passing

I have a basic question and I have yet to find in 3 different books how to pass a variable like this: I have a GPS device on an Uno and I need to "fix" the time zone thiing
I have a statement so...
(GPS.hour);... I need to extract the hour so I can fix the time zone issue I live in "Pacific DST" and that is -7 hours. With the GPS hours data I can fix the day, convert to 12 hour time and fix the day so it increments at the right time. This is part of a rather large project designed to teach me a new language, occupy my time and really be a worthy and extremely useful addition to my life. I just can't figure out how to do it and I am stuck. I know that it isn't a big deal to do and I should understand how... I used '511 assembler, Pic assembler and several flavors of Basic... which I suspect is why I can't see it. Thank You in Advance

Doc

Pass by reference?

This is what I am trying to do in an incorrect manner, I think when I declared hours i did it wrong as I declared it as type int.
int hours = (GPS.hour); I need the hours variable with that I can set an AM/PM flag, adjust to my time zone and correctly fix the date.

Doc

I think it's time to post the code.

I thought about about a minute and realized I had 2 mistakes... Learning is Fun... So they Say...
int x = 0;
// some code here
// some...
int x = (gps.hour);

Binary sketch size XXXXX or so to say after I got relaxed and thought about it my problem was fixed... Gawd I Hate the Full Moon! Thanks, now I need to write the little bits remaining to finish up this next module.

Doc