Consulting

Results 1 to 5 of 5

Thread: Solved: Date and time conversion from Excel to Access

  1. #1

    Solved: Date and time conversion from Excel to Access

    Two columns - Date column (20-Apr-05 - date format) and time (14:14:14 in text) from Excel, how I could convert them into Access 2003 date format (Thu Apr 21 14:14:14 EDT 2005)

    Thank you in advance.

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    Well is you have the date/time in Excel you can specify the format.

    If x = your date/time value

    Format(x,"ddd mmm dd hh:mm:ss " & """" & "EDT" & """" & " yyyy")

  3. #3
    Thank you for the suggestion.
    " If x = your date/time value
    Format(x,"ddd mmm dd hh:mm:ss " & """" & "EDT" & """" & " yyyy") "
    The solution seems to be an Access coding.
    Could you please tell me how I could combine the two Excel columns (date and time) and the procedure to reach the final Access date column?
    I am new to do the Access conversion. Thank you again.

  4. #4
    I got it.

    Thanks.

  5. #5
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    You're Welcome

    Take Care

Posting Permissions

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