Hello,
I am trying to verify what day of the year has been selected from the calendar extender in asp.net.
I know that in vb.net for example I would verify if the day selected is after the 121st day of the year, the syntax would be:
Then some code...Code:If DateTimePickerCheckIn.Value.DayOfYear >= 121
It seems that value is not accepted after the declaration of the calendar extender.
I'm also trying to figure out how to know if the day is Friday.
For example, in VB.NET, the syntax would be :
It seems I can not find any documentation on this subject.Code:checkInDate.Value.DayOfWeek = DayOfWeek.Friday
Thank you in advance!
Marie




Reply With Quote
