converting date to GMT; storing d.hour property