Validating date in java script
The function has been improved now so that the day, month and year values are checked to ensure that they're in the right ball-bark (ie. Also the year must be between 1902 and the current year.
The year limitation would be used if you were asking for a date of birth or date of some recent event.
In this case, we've created a stand-alone functions which will validate a date field: In each case the value passed to the function is the form field rather than the field value.
The output will be almost identical to the earlier examples.
You can’t set different file permissions for group and other users.
Java 7 has introduced Posix File Permission Enum and file.