All changes to position terms take effect immediately. If you change an appointed position to elected just before sunrise on the first day of the month, the election will start right then.
And, of course, vice versa: if you change an elected position to appointed, the next election will not run. Unless, of course, there's an election running right then, in which case it will run its course.