Change Time

Started on the old forum in January 2007 · view the original in the archive · old links redirect here

3 replies · 691 views · started 19 years ago · 1 min read

3 participants
darkdesire Senior · 250 posts #1

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

subzero Super moderator Fellow · 3,954 posts #2
$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

$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... _______…

linkrx7 #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

$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>";
crazybrumi Super moderator Principal · 1,064 posts #4

CODE<?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" ";

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.

http://flagcounter.com/more/W80q

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close