Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

time

by teamster_jr (Curate)
on May 01, 2003 at 15:56 UTC ( [id://254692]=obfuscated: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "\ec";{$_=sprintf"%02d"x3,(localtime)[2,$x=1,0];sleep 1;s#.#$x+=
    +4;
    printf"\e[%d;%dH%s$/",$_/3,$x+$_%3,(("|","_","|")[$_%3]x vec pack(v,he
    +x 
    unpack"x".2*$&."a2",af099e9b39b3b789bfbb),11-$_,1)||$"for 4..11#eg;red
    +o}
    
  2. or download this
    sub w{printf"\e[%s;%sH\e[$_[0]m%s\e[15;7H%02d:%02d:%02d %02d/%02d$/",t
    +((
    $n-3)%12),2*t($n),$r<3?".":$n,@o[2,1,0,3],$o[4]+1}print"\ec";while(sle
    +ep
    1){@o=localtime;for$r(1..3){for$n(1..12){w}$q=$o[3-$r];$n=($r<2?$q:$q/
    +5)
    %12||12;w 31}w}sub t{$r*($_[0]>5?-1:1)*(($d=$_[0]%6)?($d-1)%4?2:1:0)+7
    +}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://254692]
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-06-19 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.