Issue 973441 2

good idea ! UI can directly call this function to set the time.