View selection criteria for Calendar View style

Hi All,

I have a StartDate and an End Date in a Form. There is another field called DateRange and is a multivalue field and the value is

Range := @TextToTime(@Text(StartDate) + “-” + @Text(EndDate));

@Explode(Range)

What would be my selection criteria in order to show only weekdays and exclude weekends.

Can someone throw some light.

Need urgent help

Thanks,

carol C