Any time spent paxing is counted as duty time,whether its before flight duty or after.This is for flight crew and cabin staff.As Nubboy said, quite correct.Also, any pre-or post flight activity related to the flight (ie paperwork,briefings, debriefings etc) are part of duty time. Hope that helps