[SOLVED] Need some help with timer lazarus / 21-General ---------------------------------------------------------------------- SaraT · 2023-04-15 18:37 Hello developers I don't know how to work with timers, but Does anyone have a countdown timer sample like attached image? (With start, pause, stop buttons) I would be so thankful if someone please help me. Regards ---------------------------------------------------------------------- af0815 · 2023-04-15 18:50 homework ?! Information about timer is available with google search eg. https://wiki.freepascal.org/TTimer Write code and show where is your problem. ---------------------------------------------------------------------- Curt Carpenter · 2023-04-15 19:48 You probably want to learn about the free pascal keyword "now" and the DateUtils unit (google "fpc now" and "fpc unit DateUtils") rather than the timer. "Now" returns a TDateTime from which you can extract the current clock time. ---------------------------------------------------------------------- af0815 · 2023-04-15 20:01 Google: https://www.youtube.com/watch?v=HAyDhBZ_oTA https://forum.lazarus.freepascal.org/index.php?topic=48278.0 and more