Guys thought it was about time we showed what different formats we can use to show the date/time etc in our skins and to help new skinner's out there.
First the widget:
Then the different formats show below for today's date Fri 18 January 2013 time 14:11 and 15 seconds.HTML Code:<widget source="global.CurrentTime" render="Label" position="10,10" size="180,30"> <convert type="ClockToText">see below</convert> </widget>
Default = 14:11
Date = Friday 18 January 2013
ShortDate = Fri 18/01
Full = Fri 18/01 14:11
Format:%a %d/%m/%y = Fri 18/01/13
Format:%A = Friday
Format:%H:%M = 14:11
Format:%S = 15 (seconds)
Format:%h = Jan
Format:%D = 01/18/13
Format:%Y = 2013
Format:%d/%m = 18/01
Format:%B = January
Format=%Z = GMT (time-zone)
Below should show the time in the 12 hour clock format %I and the AM/PM represented by %p and also adding a # sign after the % sign should cancel out the leading zero but doesn't, also the %p or %P doesn't show AM or PM any chance Andy could implement this in the image.
The below format should be showing 2:11 PM
Format:%#I:%M %p = 02:11