Results 1 to 3 of 3
  1. #1
    fdnyfish is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2005
    Posts
    3

    Format date for Certificates

    I have a training database that I want to automate Completion Certificates from.

    I'm stuck on formatting the date of issuance of the certificate.

    example.....

    The date the course was completed was 12/01/10 , and is in a field called [completed_date] in my table.

    I want to display that date on the certificate in the following format....



    Issued this 1st day of December, 2010

    Keeping in mind that depending on the day I might need to use (st, nd, rd, th).

    Thanks for any help

  2. #2
    Rixxe is offline Blessed Bear
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Location
    London (Essex ... yep!)
    Posts
    184
    Hope this helps:

    http://www.techonthenet.com/access/f...ate/format.php

    Not sure about adding rd,th,st etc

    Good luck

  3. #3
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    the easyest way is create a loopup table:
    dayTable:
    dayNum dayName
    1 1st
    2 2nd
    3 3rd
    4 4th
    ...
    21 21st
    22 22nd
    23 23rd
    ...
    31 31st

    then put follow formula as datasource of the textbox:
    ="Issued this " & dlookup("dayname","taytable","dayNum=" & day(complete_date) ) & " day of " & format(complete_date,"mmmm, yyyy")

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

Similar Threads

  1. Date format on Form
    By onenessboy in forum Forms
    Replies: 4
    Last Post: 12-07-2010, 06:28 AM
  2. Date Format
    By lonewolfwfk in forum Programming
    Replies: 4
    Last Post: 11-25-2010, 09:00 PM
  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

Tags for this Thread

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