PHP/Clok

This is an oldie-but-goodie. I made this a long long time ago. So long ago, in fact, the original page that I got the idea from is no longer around. The great Wayback Machine shows 2002 as the first incarnation, but I'm pretty sure it was before then.

Anyway, this PHP snippet shows the current time in relation to how I view my time, in chunks of how active I am. The lighter the time, the more active I generally am during that block. The darkest means I'm sleeping (hopefully!).

The code is pretty simple and grossly outdated, but it works just fine and dandy! You can check out a demo here. Configuration options galore!

Clok

Attachment: 

Add new comment

Anonymous Markdown

  • No HTML tags allowed.
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.