converting day to GMT