Added date in newAttributes:functions()