if rs is the recordset & date1 is the name of the field containg date then text1.text=format(rs!date1,"dd/mm/yy "); This will solve the problem. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: W3Schools is optimized for learning and training. The format of the date is described in Format of a valid date string in Date and time formats used in HTML.You can set a default value for the input by including a date inside the value attribute, like so:One thing to note is that the displayed date format differs from the actual value — the displayed date format will be chosen based on the set locale of the user's br… You modify your text box by changing the value of the attributes. The