Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 15 of 22

Thread: Showing the clock and date in skin

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts

    Showing the clock and date in skin

    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:

    HTML Code:
    <widget source="global.CurrentTime" render="Label" position="10,10" size="180,30">
    <convert type="ClockToText">see below</convert>
    </widget>
    Then the different formats show below for today's date Fri 18 January 2013 time 14:11 and 15 seconds.

    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

  2. The Following 5 Users Say Thank You to markus625 For This Useful Post:

    bassethound (20-01-13),judge (18-01-13),Larry-G (18-01-13),s31teg (20-01-13)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.