@risheviswanath_s wrote:
The user will be entering the date in dd-mm-yyyy format and i need to check whether the date entered is a valid date. I converted the user input which was in string format to dateTime format and assigned to a variable date_format of data type dateTime. My issue is that the input given by user is stored in the date_format variable in mm:dd:yyyy format due to which all dates entered by the user starting from 13th date of a month are showing as an error. I tried to find many discussions on this but still not able to find a solution.
Thank you
Posts: 3
Participants: 3