2019-03-09, 09:23
I am trying to show an Arabic date in my addon and the date come with .0 at end of year, how can i convert it as integer with Window(Home).Property() because i tried in python but didn't work:
Quote:this is in my script:thanks for all
yeararabic = str(HijriDate.hijri_year_from_date(date.today()))
WINDOW = xbmcgui.Window(10000) # That window ID is for the home window
WINDOW.setProperty("yeararabic", yeararabic)