Results 1 to 3 of 3
  1. #1
    bdhFS is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    32

    Date/Time Issue

    I am having a issue with some data I imported from a CSV file. First of all the Date/Time field came over as 'Text' data type instead of a 'Date/Time' data type. I tried to change the settings to a Date/Time format while importing but then it would give me an error and the date/time would not load at all. I need Access to see this as Date/Time for calculations and such, but I am having a hard time converting it. I have tried in a query using Format and CDate with no luck. Here is what the date/time looks like in the DATA_DATE field.

    09-OCT-09 12.00.00.000000000 AM

    This time format is new to me and I would rather it be 09/OCT/2009 12:00:00 AM as well as be a date/time datatype. Any help would be appreciated. I was thinking I will probably have to parse this "String" of text out using function like Len, Right, Left etc.

    Thanks for help


    Using Access 2010

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Try setting up an import specification. I tells the wizard what the data types should be.

  3. #3
    bdhFS is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    May 2010
    Posts
    32
    I tried to change the settings to a Date/Time format while importing but then it would give me an error and the date/time would not load at all.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Getting Just the Date part of Date/Time field
    By GaryElwood in forum Reports
    Replies: 7
    Last Post: 09-28-2011, 09:58 AM
  2. Date/Time Search Midnight Issue
    By Coffee in forum Queries
    Replies: 5
    Last Post: 07-26-2011, 01:54 AM
  3. Replies: 12
    Last Post: 02-22-2011, 03:39 PM
  4. Replies: 6
    Last Post: 01-04-2011, 05:43 PM
  5. access time display issue at liknked table
    By newaccess in forum Access
    Replies: 0
    Last Post: 05-14-2010, 09:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums