For your logbook, it's from when it moves under its own power until the rotors run down.
For tech logs, it's skids off to skids on, with suitable adjustments for landings in between - I believe, when pleasure flying anyway, that one third can be deducted from running time to get air time.
Phil