Results 1 to 6 of 6
  1. #1
    dollygg is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2009
    Posts
    73

    built in function(coupon date)

    Hello ,

    Is there any built in function I could use in MS Access? I would like to get the DTM (date to maturity) :

    for example: first coupon date is 03/01/2011(coupon was paid quaterly)
    That means the next coupon date is 06/01/2011


    maturity date is 03/01/2012
    dtm = maturity date - prior coupon date
    = 03/01/2012-06/01/2011

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    I think the DateDiff() function is what you need.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    dollygg is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2009
    Posts
    73
    The problem is we know the first coupon date and the maturity date only. The prior coupon date always changing.

  4. #4
    dollygg is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2009
    Posts
    73
    The excel formula =COUPDAYS("1/25/1998","11/15/1999",2,1) could solve this problem. I have a table called "CDS" in MS Access. I am wondering if I could use this formula on an Access table.

  5. #5
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Hi

    AFAIK the COUPDAYS() function is not available in access but I still think that DateDiff() is what you need. Can you tell us a bit more of where and how you would use COUPDAYS() if it was valid in Access. We may then be able to make a more detailed suggestion.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  6. #6
    dollygg is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2009
    Posts
    73
    Hello,

    We can not use the DateDiff () fucntion because the prior coupon date always changing. Our goal is to calculate the number od days between the last coupon date and the maturity date.

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

Similar Threads

  1. Date() function undefined
    By Bruce in forum Queries
    Replies: 4
    Last Post: 07-28-2011, 04:53 PM
  2. Date Function
    By joewhitt in forum Queries
    Replies: 7
    Last Post: 07-17-2011, 07:22 PM
  3. Julian Date Function Help Please
    By campanellisj in forum Programming
    Replies: 3
    Last Post: 05-13-2011, 12:59 PM
  4. Date Function
    By tmcrouse in forum Queries
    Replies: 2
    Last Post: 12-02-2010, 08:53 AM
  5. Date Past Function
    By Laney in forum Access
    Replies: 4
    Last Post: 05-21-2008, 07:19 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