<input type="text" name="currentEffDate" id="currentStationEffDate" maxlength="10" required="true" dojoType="dijit.form.DateTextBox" style="width:160px;" invalidMessage="The value entered is not valid" promptMessage="Date should be in mm/dd/yyyy Format" tooltipPosition="above, below" onFocus="displayCurrentDate('currentStationEffDate', 'currentStationEndDate');dijit.byId('currentStationEndDate').constraints.min = this.getValue();" onChange="displayCurrentDate('currentStationEffDate', 'currentStationEndDate');dijit.byId('currentStationEndDate').constraints.min = this.getValue();" />
The problem with this code is when i select the date, it shows the previous date too for selection which should be disabled from the first time.

Now if the current date is 25, the date before 25 must not be selectable.