Results 1 to 5 of 5
  1. #1
    sbrady19 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    33

    date format in field

    Im in a table in design view. In the General tab at the bottom, I have:

    Format: Short Date
    Input Mask: 99/99/0000;0;

    when I go to a new record I get this:
    2/25/2015 2:25:23 pm

    I just want the date ONLY......how do I do this....thanks.

  2. #2
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Check your Default Value: It should be Date() (or just Date, either works). Also make sure you're working with a local Table and not a Linked Table if you make changes, otherwise they won't be saved.

    If you are still seeing time values and your Format: is Short Date and your Default Value: is Date() then the Table may be corrupt.

    Make a backup of your database and then run a Compact and Repair. If that doesn't work, then you can try creating a new Table and running an Append Query to copy all your data over.

  3. #3
    sbrady19 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    33
    I put =Now() in the default so that field always gets todays date, I just need 2/25/2015 WITHOUT 2:23:12 PM. So would it be:

    =Date NOW()

    or something similiar? thanks.

  4. #4
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    If you just want the date to appear, then use:
    Code:
    =Date()

  5. #5
    sbrady19 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    33
    thank you so much.

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

Similar Threads

  1. Replies: 3
    Last Post: 08-20-2014, 01:47 PM
  2. Date Format
    By sdel_nevo in forum Programming
    Replies: 2
    Last Post: 11-22-2013, 12:31 PM
  3. Replies: 4
    Last Post: 03-12-2013, 06:49 PM
  4. Replies: 1
    Last Post: 08-07-2011, 07:58 AM
  5. Date field not in date format
    By Lorlai in forum Access
    Replies: 11
    Last Post: 06-27-2011, 05:14 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