Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date questions...

Status
Not open for further replies.

mjonson

Technical User
Mar 9, 2004
128
GB
Hi,

when inputting dates ive chosen to have 3 dropdowns
day,month,year

is it best to have three fields for each dropdown
or combine them all in one field?
 
Combine them, it will make future searches easier

Bastien

Cat, the other other white meat
 
Use the Javascript Date Picker, the date will show in your input textbox.
 
thanks for your replies,
kendel - have you got any samples for a good date picker
the best one i found was on 4guys
 
right have date entered into mysql table using date picker
format when selected is dd/mm/yyyy
format whene stored in table mm/dd/yyyy
format when displayed in textbox is mm/dd/yyyy

is the format that mysql stores always mm/dd/yyyy ?
how do i get the date to be displayed as dd/mm/yyyy ?
also the mysql table is setup so the date field is varchar
is this ok - ne probs with this?
 
have a read in the js files. there is usually some definitions on how the date is supposed to look

db column should be date type field

Bastien

Cat, the other other white meat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top