Hmm, I think then $gmt should automatically account for $daylight then, as either way, it's returning the wrong value and GMT isn't related to other time zones and their daylight savings.