SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 2nd, 2001, 01:02 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Date Format Problems

Originally posted by : David (davo__@hotmail.com)I have been having various problems with formating dates to the australian format (dd/mm/yyyy). I am using ACCESS, the query I am sending to the database is:UPDATE tailback SET tailback_status='In Progress', tailback_processdate=#01/10/2001#, tailback_processtime=#15:23:13#, tailback_processps='dr' WHERE tailback_refnumber=12313 In the field tailback_processdate (in table "tailback") I have set the custom format to dd/mm/yyyy.However in the database the field tailback_processdate is displayed as 10/01/2001.Why is this?! The custom format should overide any regional settings, shouldn't it?!

Reply With Quote
  #2  
Old October 9th, 2001, 07:31 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : Mark (markr@tio.nl)------------David at 10/1/2001 11:02:54 PMI have been having various problems with formating dates to the australian format (dd/mm/yyyy). I am using ACCESS, the query I am sending to the database is:UPDATE tailback SET tailback_status='In Progress', tailback_processdate=#01/10/2001#, tailback_processtime=#15:23:13#, tailback_processps='dr' WHERE tailback_refnumber=12313 In the field tailback_processdate (in table "tailback") I have set the custom format to dd/mm/yyyy.However in the database the field tailback_processdate is displayed as 10/01/2001.Why is this?! The custom format should overide any regional settings, shouldn't it?!You should try to use a format on the date. Access always US format for the date on the background (i.e. when calculating or comparing dates). So when you want to do something with a date use a US format. If you want to show a date use the format of your choice. for exampleformat(tailback_processdate=#01/10/2001#,dd,mm,yyyy)

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Date Format Problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT