Yeah, I was tempted to name it, Chris Craft's Custom Clock Block officially, and then I decided to just name it Clock.
There didn't appear to be an easy way to get access to Date and Time information in Popfly, so I figured it would make for a good test case for my first custom Popfly block.
Clock Block
- displayMilitaryTime
- displayTime
- getSeconds
- getMinutes
- getHours
- getDay
- getDate
- getMonth
- getFullYear
- getTime
- about
Clock Block Popfly Example Application: Clockr
I made a quick application to see Clock Block in action. It takes the current military time and grabs images off of flickr for each digit and makes a Ransom Note clock out of it.
As you can see in the screenshot it was 15:08:46, a little after 3pm, when I took the screenshot.