Access 2000 and Dates going wrong

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Access 2000 and Dates going wrong

    Hi,

    Can anyone tell me how to fix my date problem in MX2004 and Access 2000. I
    have a table where I am trying to only get records of a certain date which
    works for dates such as 31/01/2005 but not for 01/01/2005. I think this is
    because the system gets the date format mixed up in my SQL. How can this be
    fixed so the SQL looks for dates in access in UK and does not get confused buy
    the 01/01 bit..

    I hope this is clear, and tanks for any help.

    Joolz

    joolzzz Guest

  2. Similar Questions and Discussions

    1. #39912 [NEW]: date('W') returns wrong week number for some dates
      From: pkus at epf dot pl Operating system: windows xp PHP version: 5.2.0 PHP Bug Type: *General Issues Bug description: ...
    2. ASP - Access and dates
      Hi All, Some suggestions with this would be appreciated. I have a page that gives customers the ability to retrieve records for the last 3...
    3. Access 2000 or SQL Server 2000
      Hi I am planning to design a database (destined for the web) that will have between 20000 and 45000 records in it and will receive a lot of reads...
    4. can't insert dates in SQL Server 2000
      Perhaps that's because what you're actually converting is 31 divided by 7 divided by 2003 instead of the string '31/07/2003'. Ray at home --...
    5. ASP & MS Access and Dates...
      Hi, I am fairly new to ASP so please forgive any possible stupidity. I have a series of ASP pages that read/write to an Access database. One...
  3. #2

    Default Re: Access 2000 and Dates going wrong

    It might be better to pass dates to your query in the standard ISO format of
    YYYY-MM-DD. This is unequivical, the database won't get confused about what
    date it is. You could also pass the date as eg 17-March-2005. Although, this
    might not work on French servers, for example

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139