Hi, i'm a beginner software program developper ( i don't have advance knowledge on c++!!). I'm trying to make a gettime function where the program displays something like this:

Monday October 2, 2009 10:34 am

I know that constants needs to be declared, and I need to multiply 60 (number of seconds in one min), 60 (number of mins in an hour), 24 (number of hours in a day), 365 (number of days in a year) and so on.

but other than tat... how do i approach this!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.