Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How can I insert local time to use as a timer of sorts?

+4 votes
asked Sep 15, 2020 by Amanda Vesely (160 points)
This program doesn't seem to have the command LocalTime

2 Answers

0 votes
answered Sep 16, 2020 by Peter Minarik (84,180 points)
  • What language are you talking about (C, C++, C#, Java, Python, etc)?
  • Are you sure you have included the right headers/imports/etc?
  • Are you sure you've selected the right language for your code (top right corner)?

If you copy-paste the code sample from the localtime() documentation, it works just fine.

0 votes
answered Sep 19, 2020 by akash singh yadav (180 points)
may be error found in program
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...