Yes, an hourly employee must be paid for all time worked, including time while they are being trained by their employer. There is no unpaid work, including time spent learning the job, under the law. (E.g the federal Fair Labor Standards Act, or FLSA.) Furthermore, if you work more than 40 hours in a week, including training time, you should receive overtime for all hours past 40.