Fix inverted logic in datetime GMT conversion

Ticket:	#6394