• From my limited knowledge looking at that script it appears that it is restoring the whole of the last transaction log and not to the time specified.