CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: how to program

  1. #1
    Join Date
    Oct 2001
    Location
    Accra,Ghana
    Posts
    4

    how to program

    I want to write aprogram that will be used as a time calculator. How should i go about it.


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: how to program

    Do you mean like adding and subtrackting dates? If so, you can use the DateAdd function, which allows you to add a specific number of time (can be anything gooing from seconds to years). You can use the DateDiffl function to get the difference between two dates, again, going from seconds to years.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured