Change Time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change Time

    Does anyone know how to edit the time on the scotspaul script please ? I'm 2 hours fast at the moment lol

    Cheers
    :p:p:p

    #2
    Code:
    $TimeZone=1; //gmt +1 time
    $New_Time = time() + ($TimeZone * 60 * 60);
    $time=date("H:i",$New_Time);
    Pick your right time one of this is your time you can paste in to script
    Code:
    $gerNew_Time = time() + (0 * 60 * 60);
    $gertime=date("H:i",$gerNew_Time);
    echo "
    Berlin, Paris, Rome, Johhanesburg: $gertime";
    #---------------------------------------------------------------
    $helNew_Time = time() + (1 * 60 * 60);
    $heltime=date("H:i",$helNew_Time);
    echo "
    Helsinki, Ankara, Capetown: $heltime";
    #-------------------------------------------------------
    $mosNew_Time = time() + (2 * 60 * 60);
    $mostime=date("H:i",$mosNew_Time);
    echo "
    Moscow, St. Petersburg, Baghdad: $mostime";
    #--------------------------------------------------------
    $banNew_Time = time() + (6 * 60 * 60);
    $bantime=date("H:i",$banNew_Time);
    echo "
    Bangkok, Jakarta: $bantime";
    #--------------------------------------------------------
    $bjinNew_Time = time() + (7 * 60 * 60);
    $bjintime=date("H:i",$bjinNew_Time);
    echo "
    Beijing: $bjintime";
    #---------------------------------------------------------
    $tokNew_Time = time() + (8 * 60 * 60);
    $toktime=date("H:i",$tokNew_Time);
    echo "
    Tokyo, Seoul: $toktime";
    #-------------------------------------------------------
    $sydNew_Time = time() + (9 * 60 * 60);
    $sydtime=date("H:i",$sydNew_Time);
    echo "
    Sydney: $sydtime";
    #--------------------------------------------------------
    $welNew_Time = time() + (11 * 60 * 60);
    $weltime=date("H:i",$welNew_Time);
    echo "
    Wellington, Auckland: $weltime";
    #--------------------------------------------------------
    $alsNew_Time = time() + (14 * 60 * 60);
    $alstime=date("H:i",$alsNew_Time);
    echo "
    Alaska: $alstime";
    #---------------------------------------------------------
    $seaNew_Time = time() + (15 * 60 * 60);
    $seatime=date("H:i",$seaNew_Time);
    echo "
    Seattle, San Fransisco, LA: $seatime";
    #-----------------------------------------------------
    $slcNew_Time = time() + (16 * 60 * 60);
    $slctime=date("H:i",$slcNew_Time);
    echo "
    SaltLake City, Phoenix, LA: $slctime";
    #-----------------------------------------------------
    $chicNew_Time = time() + (17 * 60 * 60);
    $chictime=date("H:i",$chicNew_Time);
    echo "
    Chicago, Dallas, Mexico LA: $chictime";
    #----------------------------------------------------
    $nycNew_Time = time() + (18 * 60 * 60);
    $nyctime=date("H:i",$nycNew_Time);
    echo "
    New York, Miami, Quebec: $nyctime";
    #---------------------------------------------------
    $bNew_Time = time() + (20 * 60 * 60);
    $btime=date("H:i",$bNew_Time);
    echo "
    Beunos Aires, Brasilia: $btime";
    #----------------------------------------------------
    $hereNew_Time = time() + (23 * 60 * 60);
    $heretime=date("H:i",$hereNew_Time);
    echo "
    London, Dublin, Lisbon: $heretime";
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      that code is based on server time though so may need to adjust to how ever much u need this what i did to change time and date from australian to uk time

      Code:
      $new_time = time() - (9 * 60 * 60);
      $time=date("H:i",$new_time);
      $cst = strtotime('-540 minutes');
      $date=date('D jS M y', $cst);
      echo "".$time." - ".$date."</p>";

      Comment


        #4
        <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?php

        $TimeZone="8"; ////Change the TimeZone accordingly!
        $New_Time = time() + ($TimeZone * 60 * 60);

        $show_date=date("D dS F, Y",$New_Time);
        $show_time=date("H:i",$New_Time);
        $Hour=date("G",$New_Time);

        echo $show_date;
        echo"
        ";
        echo $show_time;
        echo"
        ";

        //$diena=date("z"); $liko=365-$diena; echo"New Year Countdown:$liko Days";
        //echo"
        ";</div>

        wer its red just change from 1-24 until u get the right time in your region
        http://ravernation.info
        Want something coded email me at sales@webnwaphost.com for a prices.




        Comment

        Working...
        X