Results 1 to 3 of 3
  1. #1
    Nokia N93 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    55

    Can i change the format of DATE () ?

    the date is appearing 11/27/2010
    is this the default in Ms. ACCESS??


    how can i change it to 27/11/2010
    p.s I used the date() to be entered automatically after updating a textbox ,, i want to change it to 27/11/2010

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    default formatting of dates depends, initially, on the distribution version you have. you may be able to set the default format in the options, but to change in the program, use format():
    Code:
    format(date(), "mm/dd/yyyy")
    or something similar. the help file on the function tells it all.

  3. #3
    skahle89 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    5
    You can use the "Format" property of the control if this is on a form. Date-Times are stored as a serial number regardless of what input mask or format you use; specifying a Format just tells Access how to display the date. Click in the Format property for the text box in question and press F1 if you need more help.

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

Similar Threads

  1. Date Format
    By lonewolfwfk in forum Programming
    Replies: 4
    Last Post: 11-25-2010, 09:00 PM
  2. Date format exporting to txt
    By timpepu in forum Access
    Replies: 1
    Last Post: 04-20-2010, 08:20 AM
  3. date format
    By dollygg in forum Access
    Replies: 2
    Last Post: 01-19-2010, 10:14 AM
  4. Date Format
    By wasim_sono in forum Forms
    Replies: 2
    Last Post: 08-15-2006, 01:20 AM
  5. Date Format
    By St3ph3n in forum Access
    Replies: 4
    Last Post: 03-09-2006, 11:23 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