Question: how many hours do you have to work to take a lunch?
Answer: The law only says you have a right to a 20-minute break if you work more than 6 hours. It does not say when the break must be given. As such, your employer is allowed to ask you to take your break at this time.