answersLogoWhite

0


Best Answer

Use functions time+ctime or time+localtime+strftime

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you get the present time and date directly from the computer to c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you change the date online?

You cannot change the date online, but you can change the date on your computer. If you post things online with the incorrect date on your computer, then that date may appear online with your post. Each program works differently.


What is add remove program?

It is a window which shows you what you have installed in your computer with time & date mentioned and helps you to uninstalled it for your computer


When does a j1 visa expire?

i dont have degree certificate but i have transcripts...........can i get h1b visa or h4 visa


How do you get rid of Trojans?

Have an up to date, good AntiVirus program installed on your computer and scan often. Dr. CureIt has a good freeware program.


What is the evolution of fourth generation of computers till present?

The evolution of fourth generation of computer till date was the use of microchips as the memory capacity and this has helped in manufacturing of computer till date.


A 16-bit real mode program that queries the computer for time and date and surveys hardware?

ntdetect.com


What is a 16-bit real mode program that queries the computer for time and date and surveys hardware?

Ntdetect


Is a 16-bit real mode program that queries the computer for time and date and surveys hardware?

ntdetect.com


What two main tasks can you perform with the window backup program?

Back-Up Files Back-Up Computer Restore your computer to a different time and date


Is miku hatsune dating anyone?

щ(ಠ益ಠщ) Miku is a computer program. Computers do not date people.


Is it good to do Bachelors degree in computer enigineering through university?

Your always better off taking a program through an accredited college or university. Anything else will present problems with accredited colleges and universities should you wish to continue your education at a later date, and with many employers.


What is the meaning of immigration on computer?

Maybe you mean "migration". Which means to move all the date from the format of the old program to the format of the new program so that you can begin using the new program without losing any "legacy data".