Date/Time format with MS Access & CF

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Date/Time format with MS Access & CF

    Does anyone know of any workarounds regarding date/time format between MS
    Access and ColdFusion?

    Right now I have to set a column in my Access database as text for data in it
    to be displayed on my web site. When the column is set as date/time I get an
    error when trying to display it with CF on my web site. Help!

    rapcgtiac Guest

  2. Similar Questions and Discussions

    1. date/time format
      Guys, I have this format from my db: Thu Oct 25 08:57:54 2001 and I want able to convert it to mm/dd/yyy :hh/mm/ss. I tried this but it didn't...
    2. DW date & time format
      Hi does anyone know how do i check for dreamweaver date & time format???
    3. Time/Date format and changing time to GMT
      Hi All, Sorry if this is the wrong newsgroup to post into, on this topic, if so, please point me in the right direction..... Currently working...
    4. Nautulus: time/date format change ?
      I run RH9 with Gnome / Nautilus. I am irritated by the time/date format in Nautilus. like : " Wednesday, July 9 2003 at 10:44:14 PM " ! Does...
    5. Date/Time Format?
      No, not directly, you'd have to write your own proc / function. You could use this as a base: http://www.aspfaq.com/2460 So it might be...
  3. #2

    Default Re: Date/Time format with MS Access & CF

    What kind of errors?
    OldCFer Guest

  4. #3

    Default Re: Date/Time format with MS Access & CF

    The error is: "Data type mismatch in criteria expression"

    I looked up the error explanation in Dreamweaver and this is what it says:

    "This error occurs then the server tries to process a page containing an
    Insert Record or Update Record server behavior, qand the srver behavior
    attempts to set the value of a Date/Time column in a Microsoft Access database
    to anempty string ("").
    Microsoft Access has strong data typing; it imposes a rigorous set of rules on
    given column values. The empty string value in the SQL query cannot be stored
    in an Access Date/Time column. Currently, the only know workaround is to avoid
    inserting or updating Date/Time columns in Access with empty ("") or with any
    other value that does not correspond to the range of values specified for the
    data type."

    The thing is that I am not inserting nor updating a Date/Time column, but
    rather trying to view info from a Date/Time column using CF.

    rapcgtiac 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