Navigation:  Enhanced Crewing > Configuring for enhanced crewing > Crew Pricing >

Hourly Time of Day

Previous pageReturn to chapter overviewNext page

 

This scheme uses the the time of day and day of week to calculate the amount to charge for crew. Overtime rates are only determined by the time periods worked in,

NOT the number of additional hours worked above a base block – it also allows you to charge extra for Saturdays and Sundays and public holidays

Once  again looking at the GetCrewPrice procedure we see

 

const

 Saturday = 6; // Day 6

 Sunday = 7; // Day 7

 SaturdayMultiplier = 1.5;  // used for Saturdays

 SundayMultiplier = 1.75;   // used for Sundays

 HolidaysMultiplier = 2;    // used for Holidays

 // our GetEasterDay function has 3 options for working out the Easter Sunday

 EASTER_JULIAN = 1;

 EASTER_ORTHODOX = 2;

 EASTER_WESTERN = 3;

 NormalHoursStart = '06:00'; // 24 hour time

 TimeAndHalfStartHours = '18:00'; // 24 hour time

 TimeAndHalfEndHours = '22:00'; // 24 hour time

 DoubleTimeStartHours = '22:00'; // 24 hour time

 DoubleTimeEndHours = '06:00'; // 24 hour time

 BaseRateMultiplier = 1;

 TimeAndHalfMultiplier = 1.5;

 DoubleTimeMultiplier = 2;

 

 

So in the first block we can see the amount to multiple the daily price by based on the day of the week

SaturdayMultiplier = 1.5;  // used for Saturdays

 SundayMultiplier = 1.75;   // used for Sundays

 HolidaysMultiplier = 2;    // used for Holidays

 

So for instance if you only charge time and a half for Sundays and bank holidays and standard rates for Saturday you would change it to

 

SaturdayMultiplier = 1.0;  // used for Saturdays

 SundayMultiplier = 1.5;   // used for Sundays

 HolidaysMultiplier = 1.5;    // used for Holidays

 

The next section Works slightly differently.

It divides the day up into 3 sections according to the time of day.

Normal Hours, Time and a half hours and double time hours. These are just names – the actual rates you charge differ.

The  next block defines those hours:

 NormalHoursStart = '06:00'; // 24 hour time

 TimeAndHalfStartHours = '18:00'; // 24 hour time

 TimeAndHalfEndHours = '22:00'; // 24 hour time

 DoubleTimeStartHours = '22:00'; // 24 hour time

 DoubleTimeEndHours = '06:00'; // 24 hour time

 

In the above we can see that hours between 6AM and 6PM are at the base rate rate

Hours after 6pm until 10pm are charged at the time and a half rate and hours worked after 10pm and before 6am are charged at a double time rate

You could change these hours to suit.

The last relevant block is how much to charge for normal hours, time and a half and double time hours

 BaseRateMultiplier = 1;

 TimeAndHalfMultiplier = 1.5;

 DoubleTimeMultiplier = 2;

 

So normal hours are charged at 1x the hourly rate, time and a half hours are charged at 1.5x the daily rate – although you could edit that figure to 1.2 to only give  20% extra during those hours and finally the double time charge rate.