Validations
Following are some of the date validations.
  • First seven rows have date printed inside a td element.
  • Eighth and ninth rows have dates inside the text box.
  • In ninth row the text box is read only.
  • The format of date in first row and ninth row are different from others.
Today is 16-12-2025 Positive Validation code
Yesterday was 15/12/2025 Positive Validation code
Tomorrow 17/12/2025 Positive Validation code
Last month 16/11/2025 Positive Validation code
Next month 16/01/2026 Positive Validation code
Next year 16/12/2026 Positive Validation code
Last year 16/12/2024 Positive Validation code
Todays Date (dd/mm/yyy) Positive Validation code
Todays Date (mm/dd/yyy) Positive Validation code