Text box date format

M

M007

I'm setting up a query page that the user enters a date range. The
query works fine when the correct date format is entered. I added a
calendar option that puts the correct date format in the text boxes.
The problem is that I want it to start with a default date range of -30
days, +30 days. I have done this with the following: <%=(Date-30)%> and
<%=(Date-30)%>. The date format comes out like this 1/24/2005 and
3/25/2005. I need the format to be 01/24/2005 and 03/25/2005. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top