Kodi Community Forum
How to deal with dates in unix timestamp? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: How to deal with dates in unix timestamp? (/showthread.php?tid=135550)



How to deal with dates in unix timestamp? - gbandit - 2012-07-07

I'm writing a scraper who's source provides dates (i.e. premiered/airdate) in unix timestamp format. When these get imported XBMC shows them as unix time in the interface.

Is there a way to get it into a regular date format (yyyy-mm-dd) either via the scraper xml or some other setting?