Validating date c


Figure 1: Test Application in Use The Code The code is very simple and does not require much of an explanation.

All that is done is to split the date string up into month, day, and year, and then to attempt to create a date time value from those parts.

Function Description Here you see I have written a function Check Date that accepts a Start Date and End Date parameter and checks the validation against these dates and returns a Boolean value true and false.

Now we will see how to use this function in a SSRS report for date validation.

Different countries switched between the Julian and Gregorian calendars at different times.