Hi guys,
I am not sure if this is the right forum but here it goes.
I have just gone from using Microsoft Access as the database behind the admin part of my site to Microsoft SQL 2005. The site is built with coldfusion and I am a complete novice with Microsoft SQL Server. Everything with the change over has gone relativly smoothly apart from a date format issue.
The site generates call lists for our telesales staff and the client information form they use has a next contact date on it. They put a date in which is then used later to pull up a call list for that particluar day. So basicly what I am trying to say is it needs to updateable and not just a one time entry.
I am in the UK and the date format I want to use is dd/mm/yyyy. I can enter the date in like this but when I click update form it changes it and inserts into the db as mm/dd/yyyy. But it only does this for dates that are able to be changed. ie if the date is entered as 02/01/2008 (dd/mm/yyyy) then it will be changed to 01/02/2008 (mm/dd/yyyy). If the date entered is 16/01/2008 it stays the same. The date column in my database is set to data type 'datetime' and I have tryed multiple data types in the update code of my site. Does anybody have any ideas where I am going wrong.
Any help or ideas on this will be greatly appreciated. As I stated before I am a complete novice with SQL Server and am probably missing something stupid.
Thanks in advance
Rob
I am not sure if this is the right forum but here it goes.
I have just gone from using Microsoft Access as the database behind the admin part of my site to Microsoft SQL 2005. The site is built with coldfusion and I am a complete novice with Microsoft SQL Server. Everything with the change over has gone relativly smoothly apart from a date format issue.
The site generates call lists for our telesales staff and the client information form they use has a next contact date on it. They put a date in which is then used later to pull up a call list for that particluar day. So basicly what I am trying to say is it needs to updateable and not just a one time entry.
I am in the UK and the date format I want to use is dd/mm/yyyy. I can enter the date in like this but when I click update form it changes it and inserts into the db as mm/dd/yyyy. But it only does this for dates that are able to be changed. ie if the date is entered as 02/01/2008 (dd/mm/yyyy) then it will be changed to 01/02/2008 (mm/dd/yyyy). If the date entered is 16/01/2008 it stays the same. The date column in my database is set to data type 'datetime' and I have tryed multiple data types in the update code of my site. Does anybody have any ideas where I am going wrong.
Any help or ideas on this will be greatly appreciated. As I stated before I am a complete novice with SQL Server and am probably missing something stupid.
Thanks in advance
Rob