This can be done with setacctime for a smooth tranistion or skiptime for an instant one. Setacctime actually makes the game massivly faster so I can't really reccomend it.
I'd suggest skiptime 5 (or whatever) to change the time in your mission. If you wanted a gradual transfer you could write a script to skiptime 0.1 every second for 10 seconds or something like that. The number represents hours rather than minutes or seconds.