Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

How to display the time/clock on EventGhost using OSD?

If you have a question or need help, this is the place to be.
Post Reply
User avatar
InterlinkKnight
Posts: 29
Joined: Mon Sep 13, 2010 1:17 am
Contact:

How to display the time/clock on EventGhost using OSD?

Post by InterlinkKnight »

Do I need to add more details about the question? I just want to know what code do I need to add in the OSD to display the time (example: 3:05 PM, 18:45, etc.)

It should be easy but I don't find anything about it.

Can anyone help me?
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: How to display the time/clock on EventGhost using OSD?

Post by jinxdone »

{eg.Utils.time.strftime("%a, %d %b %Y %H:%M:%S +0000")}

Check documentation for time.strftime() here
Post Reply