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

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

2 Answers

0 votes
answered Sep 16 by Peter Minarik (7,830 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 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.
...