104 Different Timezones

Started on the old forum in June 2012 · view the original in the archive · old links redirect here

2 replies · 535 views · started 14 years ago · 1 min read

2 participants
Ghost Senior · 366 posts #1

Decided Im Not Gonna Probably Use This File Anymore.

So If Anyone Has any Interests In It here It Is.

     /**
       * @Author Ghost
       * @Copyright 2012 - Ghost World Times
       * @Version 1.0
       * @Description World Wide Times Based On Windows TimeZones Using gmdate()
       * @HTMLVersion Xhtml 1.0 Transitional EN
       */

Demo Config Code

/** Time Display (Change This If You Want To Get Technical)
    h = 12-hour format of an hour (01 to 12),
    i = Minutes with leading zeros (00 to 59),
    a = lowercase am or pm, */
$Time_Format = 'h:i a';

/** Decoration For ALL Types Of Displayed Text */
$Text_Colour = '#FFFFFF;'; /** (TEXT) White */
$Text_Deco_Start = '<u><b>'; /** (TEXT) Add Start Tags Like <b>,<u>,<i>,<big> etc */
$Text_Deco_End = '</b></u>'; /** (TEXT) Add End Tags Like </b>,</u>,</i>,</big> etc */
$Time_Colour = '#EAED06;'; /** (TIME) Yellow */
$Time_Deco_Start = '<i><b>'; /** (TIME) Add Start Tags Like <b>,<u>,<i>,<big> etc */
$Time_Deco_End = '</b></i>'; /** (TIME) Add End Tags Like </b>,</u>,</i>,</big> etc */
$GMT_Colour = '#FF0000;'; /** (GMT) Red */
$GMT_Deco_Start = '<i><u><b>'; /** (GMT) Add Start Tags Like <b>,<u>,<i>,<big> etc */
$GMT_Deco_End = '</b></u></i>'; /** (GMT) Add End Tags Like </b>,</u>,</i>,</big> etc */

/** Title Of File */
echo '<br/><span style="color:'.$Text_Colour.'"><b>'.$Text_Deco_Start.'World Wide Times'.$Text_Deco_End.'</b></span><br/><br/>';

/** #1 (GMT-12:00) International Date Line West */
$International_Date_Line_West = gmdate($Time_Format, time()-(12*60*60));
echo '<span style="color:'.$Text_Colour.'">'.$Text_Deco_Start.'International Date Line West:'.$Text_Deco_End.' » </span>';
echo '<span style="color:'.$Time_Colour.'">'.$Time_Deco_Start.$International_Date_Line_West.$Time_Deco_End.' </span>';
echo '<span style="color:'.$GMT_Colour.'">'.$GMT_Deco_Start.'(GMT-12:00)'.$GMT_Deco_End.'</span>';
echo '<br/>';
/** #2 (GMT-11:00) Coordinated Universal Time-11 */
$Coordinated_Universal_Time_11 = gmdate($Time_Format, time()-(11*60*60));
echo '<span style="color:'.$Text_Colour.'">'.$Text_Deco_Start.'Coordinated Universal Time-11:'.$Text_Deco_End.' » </span>';
echo '<span style="color:'.$Time_Colour.'">'.$Time_Deco_Start.$Coordinated_Universal_Time_11.$Time_Deco_End.' </span>';
echo '<span style="color:'.$GMT_Colour.'">'.$GMT_Deco_Start.'(GMT-11:00)'.$GMT_Deco_End.'</span>';
echo '<br/>';

//
//
//
//
//ETC

Full File

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
Attachments: time.zip
analyzer Developer · 104 posts #2

Thanks bro

It's n0t that i am afraid to die. Its just that if i die, wh0 wilL loVe her as muCh as i Do?

Ghost Senior · 366 posts #3

your welcome. a little surprised only 3 ppl have looked into this mind. took me quite some time to write/comment this file.

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>

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