Help for this page

Select Code to Download


  1. or download this
    function timeNow() {
            //Shows the server's time and formats it into hh:mm:ss am/pm f
    +ormat.
            now = new Date($REPLACE_WITH_THE_SERVER'S_DATE)
    ...
    
  2. or download this
    perl -e'print "Wed Sep 14 23:22:59 EDT 2005\n";my @ti=split(/\s+/,scal
    +ar localtime);my $year=pop(@ti);push(@ti,"EDT",$year);print join(" ",
    +@ti),"\n"'
    
    Wed Sep 14 23:22:59 EDT 2005
    Mon Sep 26 21:01:16 EDT 2005