Thread: Adding Date in a program

  1. #1
    Registered User
    Join Date
    Apr 2011

    Adding Date in a program

    I was trying to design an Age calculator.
    I wanted to know is there a way to set the specific date in the computer [only the date, not month and year] for the value of a variable?
    I would use it to calculate the age to the exact days.

  2. #2

  3. #3
    Registered User
    Join Date
    Apr 2011
    I had seen the page. I was looking for Date and only date. For instance, Today is 10/04/2011, So it puts the value of 10 in place of integer cur_date.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 04-08-2009, 04:23 PM
  2. Adding functions to a program
    By Finchie_88 in forum Windows Programming
    Replies: 9
    Last Post: 03-04-2005, 11:10 AM
  3. Date program starts DOS's date
    By jrahhali in forum C++ Programming
    Replies: 1
    Last Post: 11-24-2003, 05:23 PM
  4. Syntax for adding a program to autoexec.bat...
    By Sebastiani in forum C Programming
    Replies: 5
    Last Post: 06-18-2002, 12:38 AM