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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access, Javascript and Dates

Status
Not open for further replies.

Jouster

Programmer
Dec 4, 2000
82
US
Hi,

I am reading a date/time field from an Access DB with Javascript. The field in the database is set to short date like 1/2/08.

When I display the record on the web page with this code : objSPF.Fields.Item("Expiration").Value I keep getting this long date like: Mon June 5 00:00:00 EDT 2008

Does anyone knnow how I get around this and just display the short date?

thanks for the help.
 

forum216

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top