Posts: 1,617
Joined: Jul 2009
Reputation:
11
Can I pull an infolabel that will allow me to compare If system date = monday, do this... etc.
I need to be able to pull just day of the week. not the full date.
To learn more, click
here.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
2010-10-11, 21:54
(This post was last modified: 2010-10-11, 21:58 by ronie.)
stringcompare can handle localized labels, but i'm not 100% sure
if substring (which is what you need, i guess) can do that too.
anyway, give this a shot:
SubString(system.date,$LOCALIZE[11])
edit:
yep, works fine at my end.
Posts: 1,617
Joined: Jul 2009
Reputation:
11
Ok heres what I am using
<visible>StringCompare(Window(Home).Property(NextAired.1.Airtime),$LOCALIZE[20342])</visible>
Window(Home).Property(NextAired.1.Airtime) returns Monday at 09:00 pm
$LOCALIZE[20342] returns Monday
I cant get it to show when the two are compared and return true.
To learn more, click
here.