
writ a alogrithm for this program to get current date and time in the following format: current year is:2007 current month is:12 current date is:25 current hour in 12 hour foramt is :6 current hour in 24 hour format is :18 current minute is:28 current second is:54 current milisecond is:797 current full date time is:12-25-2007 18:28:54.797
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.