changed datatype of date (thx @hpurmann) #10