Cold Fusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingCold Fusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 3rd, 2005, 05:02 PM
Lethal007 Lethal007 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 3 Lethal007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 52 sec
Reputation Power: 0
MS Access Date Insert Problem

I am inserting a date into an Access DB, but when the day and month are < 12, the insert swaps the day for the month.

eg. If the date I am inserting is 3/2/04, the database will insert 2/3/04.

It is fine when I am inserting a date like 27/4/04.

Can anyone shed any light on how to fix this problem?

How do i tell the db to keep the formatting correct?

Cheers.

Reply With Quote
  #2  
Old March 4th, 2005, 06:53 AM
Cirus Cirus is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 296 Cirus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 30 m 11 sec
Reputation Power: 14
I am also facing the same situation. What I did, is to change the time settings in Access? For example from British standards to American or vice-versa.
The DB has no role in swapping. It is its setting of time. Try it and you will see.

Reply With Quote
  #3  
Old March 15th, 2005, 05:54 PM
Lethal007 Lethal007 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 3 Lethal007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 52 sec
Reputation Power: 0
I eventually split the date up into 3 dd-mmm-yyyy in Cold Fusion. I have a few servers so it took sometime untill i got them right.

Eg. dd + mmm + yyyy = dd-mmm-yyyy

created from 3 seperate variables.

Cheers. Leigh

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingCold Fusion Development > MS Access Date Insert Problem


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap