Results 1 to 3 of 3
  1. #1
    scoe is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    91

    Date changes format


    Hi

    Hope someone can point me in the right direction, I am trying to put an if statement with dates in my form and strangely it worked once but after then it has changed the format to the american version and I don't seem to be able to get it to format back to dd/mm/yyyy.

    [If #27/10/2013# > StartDate And #08/11/2013# < EndDate Then
    Me.[No of Weeks] = Me.Text679 - 2]

    Both [StartDate] and [EndDate] are formatted dd/mm/yyyy.

    I would be grateful of ay help.

    Many thanks

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Maybe these links will shed some light on the subject:
    http://support.microsoft.com/kb/q130514/en-us
    http://allenbrowne.com/ser-36.html

  3. #3
    scoe is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    91
    Thank you I will try these solutions.

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

Similar Threads

  1. Replies: 4
    Last Post: 03-12-2013, 06:49 PM
  2. date format
    By slimjen in forum Reports
    Replies: 15
    Last Post: 01-19-2012, 07:29 PM
  3. Date field not in date format
    By Lorlai in forum Access
    Replies: 11
    Last Post: 06-27-2011, 05:14 PM
  4. Date Format
    By lonewolfwfk in forum Programming
    Replies: 4
    Last Post: 11-25-2010, 09:00 PM
  5. Date Format
    By wasim_sono in forum Forms
    Replies: 2
    Last Post: 08-15-2006, 01:20 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