Results 1 to 2 of 2
  1. #1
    tb1150 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2015
    Location
    Canterbury
    Posts
    16

    English <==> American Date conversion

    Hi all,



    One of my data sources is American and therefore provides dates in a mm/dd/yyyy format, which is a problem as in the UK the date is stored as dd/mm/yyyy. Is there any way I can quickly change the format? Right now the only way I can think of doing this en masse is to use the excel "text to column" feature but I am looking for something cleaner. The data is being provided to me in text form.

    Much appreciated.

  2. #2
    tb1150 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2015
    Location
    Canterbury
    Posts
    16
    Solved: This was not too hard to solve, I simply changed the month and day values around using string functions;
    Code:
    ITEDate: Mid([tbl_AuditImport]![Audit date],4,2) & "/" & Mid([tbl_AuditImport]![Audit date],1,2) & "/" & Right([tbl_AuditImport]![Audit date],4)

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

Similar Threads

  1. Replies: 4
    Last Post: 08-25-2014, 09:05 PM
  2. Date Conversion
    By mkc80 in forum Access
    Replies: 1
    Last Post: 06-27-2012, 04:04 PM
  3. Adding to a date switches from italian to english format
    By marcotognon in forum Programming
    Replies: 4
    Last Post: 06-24-2011, 07:46 AM
  4. Replies: 1
    Last Post: 01-21-2011, 11:32 AM
  5. American/European date format issue
    By dantnz in forum Programming
    Replies: 2
    Last Post: 12-09-2010, 03:17 PM

Tags for this Thread

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