change date to replace in billing query