Current location: Hot Scripts Forums » Programming Languages » ASP » Date From Access 2000 Database

Date From Access 2000 Database

 
Prev Previous Post   Next Post Next
  #1  
Old 09-18-03, 03:02 PM
Kaikki Kaikki is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Europe
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Date From Access 2000 Database

Hi there

This is probably a very stupid question from an ASP beginner but I hope that somebody will be kind enough to help me out here.

I am sending a Date that the user enters from a form on my asp.page, to the Access 2000 Database.

I have set the field in the Access database table which stores the Date to, DATA TYPE: Date/time and the FORMAT: Medium Date.

In the database the date is then displayed as eg. 14-Aug-03.

However when I display the date on my DETAIL Page it looks like this 14-08-2003. I want it to display as 14-08-03.

To display the date on my DETAIL page I use the following code:

<td width="9%" align="center" bgcolor="#FFFFFF" height="18"><p style="margin-top: 0; margin-bottom: 0"><font face="Verdana, Arial, Helvetica, sans-serif" style="font-size: 11px"><%=(rsDetail.Fields.Item("AD_DATE1").Value)% ></a></font></p></td>

How can I control the way the date is displayed? Do I have to change some settings in the Access Database that holds the Date Field, or do I require some kind of script in the code that is calling the script.

Thankyou in advance.

Regards
Kaikki
Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Share database over the Internet nitinkedia The Lounge 2 11-20-03 03:07 PM
SQL database registration form help vinhkhuong PHP 3 10-10-03 04:49 AM
tracking down a database problem ... bjmcintosh ASP 1 08-29-03 08:52 AM
Share database over the internet nitinkedia PHP 0 07-11-03 01:22 AM
Share database over the Internet nitinkedia New Members & Introductions 1 07-10-03 03:50 PM


All times are GMT -5. The time now is 03:30 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 (Unregistered)