Custom DateAdd Function

Posted on 2006-05-27
Last Modified: 2008-03-17
Dear Experts,

I've been searching for Date Add function for C# but to no avail, is there anyone can provide me this functionality.


Question by:JaimeJegonia
    LVL 44

    Accepted Solution

    Hi JaimeJegonia,

    excellent source here for looking equivalents

    DateTime dtTomorrow;
    dtTomorrow = DateTime.Today.AddDays(1);

    you can also use
    or hours etc....

    share what you know, learn what you don't

    Author Comment


    Great! That's what I'm looking for.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
    Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now