Date Format

Scooter

Freshman
Joined
Nov 18, 2003
Messages
49
I was just wondering if anyone knows how to make a text box have a mm/dd/yyyy format for a web form.
 
To validate while the user is inputting, use javascript and regular expressions to validate the onKeyUp event. Other wise, you can use server validation.
 
You mean base on user input then system automatic format it to mm/dd/yyyy or this date automatic display by system?
 
Yes, as what Derek Stone said, you can use Javascript or VBScript to write your date conversion function
 
I'm not that familiar with Javascript or VBscript. I'm fairly new to programming, basically teaching myself by doing and reading books. (This forum also.) How would I do this? Any examples anywhere?
 
Back
Top