Suppose that you want to set a transient boundary condition, such that temperature ramps up linearly from 300K to a value of 1000K at a time of 0.01 seconds. Your user field function definition (to be used in the definition of the boundary temperature) would be:
($Time >= 0.01) ? 1000 : 300+70000*$Time