Added setDate to work-around GateOne issue