Current location: Hot Scripts Forums » Programming Languages » ASP » I am not getting time even i set date propery to date/time


I am not getting time even i set date propery to date/time

Reply
  #1 (permalink)  
Old 09-29-03, 12:27 PM
skchakri skchakri is offline
Newbie Coder
 
Join Date: Sep 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
I am not getting time even i set date propery to date/time

Hi,
I am using MSAccess 2000 as my back end.
even if i set the date field to Date/time....I am not getting the time....
I want the date format like September 23 2003 00:31:36...
can any body help me please..
__________________
Chakravarthy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-30-03, 03:18 AM
Stealth Stealth is offline
1337 pr0gr4mm3r
 
Join Date: Jun 2003
Location: Glasgow, Scotland
Posts: 188
Thanks: 0
Thanked 0 Times in 0 Posts
make sure that the time is entered into the database as well as the date
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 09-30-03, 04:22 PM
skchakri skchakri is offline
Newbie Coder
 
Join Date: Sep 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Hi stealth...
First of all thanx for the response....
I am sending the date form the ASP like this
1)Query="INSERT INTO Article VALUES("
2)Query=Query & ArticleID & " , '"
3)Query=Query & Title & "' , '"
4)Query=Query & Date & "' , '"
5)Query=Query & Keywords & "' )"
look at the 5th line...i am sending the date by Date object in ASP ...
I dont know...how to send time with date....

Please help me in sending time....
If possible send me the sample peace of code too...

Thank u ..
__________________
Chakravarthy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 09-30-03, 05:47 PM
Stealth Stealth is offline
1337 pr0gr4mm3r
 
Join Date: Jun 2003
Location: Glasgow, Scotland
Posts: 188
Thanks: 0
Thanked 0 Times in 0 Posts
try using Now() instead of Date()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
time Alii Script Requests 2 03-20-04 12:31 PM
Date From Access 2000 Database Kaikki ASP 4 09-25-03 07:04 PM
please sort scripts by updated date teletubby Hot Scripts Forum Questions, Suggestions and Feedback 11 08-17-03 01:23 PM
selection of dup recs by latest date atworx Hot Scripts Forum Questions, Suggestions and Feedback 0 06-25-03 12:05 AM
Days left to certain date. Data from MySQL alfreds PHP 4 06-17-03 10:26 AM


All times are GMT -5. The time now is 10:40 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.