Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Show current date/time in foobar? (Read 4264 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Show current date/time in foobar?

Hey all.
Is there a way to show the current date or time in foobar?

I was thinking of adding a line to my setup like this : "Last played XX days ago" but to do it i have to get the current date and substract from it the last_played playcount info or at least that's the way I see it.I'm running on the latest version of foobar.

Show current date/time in foobar?

Reply #1
The current date is not available in title formatting in general. Only some components have features that allow to access this information. In foo_textdisplay you can use the $days_ago function like this:
Code: [Select]
Last played $days_ago(%last_played%) days ago

 

Show current date/time in foobar?

Reply #3
in WSH mod,the current date and time can be retrieved by the object Date();
mad messy misanthropist morbid mused