Fixing problem with UTC date storage