From and after the first day of May, in the year eighteen hundred and sixty-seven, the period of eight hours shall be and constitute a legal day's work; but nothing in this section shall be so construed as to prevent parties to any contract for work, services or labor from agreeing upon a longer or shorter time. This section shall not apply to persons hired or employed by the month, nor to laborers or farm hands in the service of farmers or others engaged in agriculture.
§ 290.010, RSMo