Results 1 to 3 of 3
  1. #1
    adnancanada is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    121

    Question Date Format and Time

    I have date in "20170222" I want this date in "02/22/2017 23:59" , Please help me


    I used dateserial function in MS Access

    DateSerial(Left([PICKUP_DATE],4),Mid([PICKUP_DATE],5,2),Right([PICKUP_DATE],2))

    it works fine. it give me mm/dd/yyyy but I want to add time 23:59 how can I do that.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    Dateserial(....) & " 23:59"

  3. #3
    adnancanada is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    121
    Thanks a lot.

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

Similar Threads

  1. Format date and time query
    By wolfm in forum Queries
    Replies: 5
    Last Post: 02-09-2016, 05:00 PM
  2. Format date and time query
    By wolfm in forum Queries
    Replies: 2
    Last Post: 10-26-2015, 08:34 AM
  3. Replies: 3
    Last Post: 08-20-2014, 01:47 PM
  4. Form Check Date/Time Format
    By JayRab in forum Forms
    Replies: 7
    Last Post: 02-23-2014, 09:24 PM
  5. Replies: 5
    Last Post: 06-23-2012, 04:30 PM

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