Clock source applet

This applet emits a targetless clock schema payload that can be picked up by other xAP devices to display the current date/time.

It's very simplisitic and demonstrates some of the formatting capabilities of the LUA os.date function and the xap.Timer

See the LUA references page for more os.date formatting options http://www.lua.org/pil/22.1.html

The output not quite what you want?..... go ahead and hack away!

Sample output:

Member for

16 years 5 months

kevin9

15 years ago

Thanks for this.

Haven't been abe to try this yet but I think it will be very useful

A minor correction in the attached file so that date and time appear in the correct subsection

cheers

kevint

Attachments
clockApplet_1.lua (726 bytes)
clockApplet.lua (726 bytes)