-=MAPLE GALAXY=- Forum Index

-=MAPLE GALAXY=-
MapleStory Galaxy Private Server
 

ghd Display appointment and period as {regionperio

 
Post new topic   Reply to topic    -=MAPLE GALAXY=- Forum Index -> 1st Pelase Vote for Maple Galaxy!
View previous topic :: View next topic  
Author Message
haoxingtng
Chief Gray



Joined: 25 Jan 2011
Posts: 629
Read: 0 topics

Warns: 0/5
Location: England

PostPosted: Fri 17:02, 25 Feb 2011    Post subject: ghd Display appointment and period as {regionperio

}

$timezone='Asia/Calcutta'; // you want indian time zone
I am new in this article world.But i? have equitable start manuscript? articles almost my favorite field programming.
you tin simple obtain along this function.


we give data base query if you want time zone variables ($timezone)? comes from data base

convert_tz($date,$timezone,$format);

If? my artice is helpful for you amuse give me response aboard [link widoczny dla zalogowanych].

CREATE TABLE IF NOT EXISTS `pcp_timezone1` (
`timezid` int(11) NOT NULL auto_increment,
`tz` varchar(250) NOT NULL default '',
`gmt` text NOT NULL,
PRIMARY KEY? (`timezid`)
) ENGINE=InnoDB? DEFAULT CHARSET=latin1 AUTO_INCREMENT=31 ;
--
-- Dumping data for table `pcp_timezone1`
--
INSERT INTO `pcp_timezone1` (`timezid`, `tz`, `gmt`) VALUES
(1, 'Pacific/Kwajalein', '(GMT -12:00) Eniwetok, Kwajalein'),
(2, 'Pacific/Samoa', '(GMT -11:00) Midway Island, Samoa'),
(3, 'Pacific/Honolulu', '(GMT -10:00) Hawaii'),
(4, 'America/Anchorage',[link widoczny dla zalogowanych], '(GMT -9:00) Alaska'),
(5, 'America/Los_Angeles', '(GMT -8:00) Pacific Time (US & Canada) Los Angeles,[link widoczny dla zalogowanych], Seattle'),
(6, 'America/Denver', '(GMT -7:00) Mountain Time (US & Canada) Denver'),
(7, 'America/Chicago', '(GMT -6:00) Central Time (US & Canada), Chicago, Mexico City'),
(8, 'America/New_York', '(GMT -5:00) Eastern Time (US & Canada), New York, Bogota, Lima'),
(9, 'Atlantic/Bermuda', '(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz'),
(10, 'Canada/Newfoundland', '(GMT -3:30) Newfoundland'),
(11, 'Brazil/East', '(GMT -3:00) Brazil, Buenos Aires, Georgetown'),
(12, 'Atlantic/Azores', '(GMT -2:00) Mid-Atlantic'),
(13, 'Atlantic/Cape_Verde', '(GMT -1:00 hour) Azores, Cape Verde Islands'),
(14, 'Europe/London', '(GMT) Western Europe Time, London,[link widoczny dla zalogowanych], Lisbon, Casablanca'),
(15, 'Europe/Brussels', '(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris'),
(16, 'Europe/Helsinki', '(GMT +2:00) Kaliningrad, South Africa'),
(17, 'Asia/Ba[link widoczny dla zalogowanych]ad', '(GMT +3:00) Ba[link widoczny dla zalogowanych]ad, Riyadh, Moscow, St. Petersburg'),
(18, 'Asia/Tehran', '(GMT +3:30) Tehran'),
(19, 'Asia/Baku', '(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi'),[link widoczny dla zalogowanych],
(20, 'Asia/Kabul', '(GMT +4:30) Kabul'),
(21, 'Asia/Karachi', '(GMT +5:00) Ekaterinburg, Islamabad,[link widoczny dla zalogowanych],[link widoczny dla zalogowanych], Karachi, Tashkent'),
(22, 'Asia/Calcutta', '(GMT +5:30) Bombay, Calcutta, Madras, New Delhi'),
(23, 'Asia/Dhaka', '(GMT +6:00) Almaty, Dhaka, Colombo'),
(24, 'Asia/Bangkok', '(GMT +7:00) Bangkok, Hanoi, Jakarta'),
(25, 'Asia/Hong_Kong', '(GMT +8:00) Beijing, Perth, Singapore, Hong Kong'),
(26, 'Asia/Tokyo', '(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk'),[link widoczny dla zalogowanych],
(27, 'Australia/Adelaide', '(GMT +9:30) Adelaide, Darwin'),
(28, 'Pacific/Guam', '(GMT +10:00) Eastern Australia, Guam, Vladivostok'),
(29, 'Asia/Magadan', '(GMT +11:00) Magadan, Solomon Islands, New Caledonia'),
(30, 'Pacific/Fiji', '(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka');

function convert_tz ($date_str, $tz, $date_format = "r") {
$time = strtotime($date_str);
$tz_bak = getenv("TZ");
putenv("TZ=$tz");
$ret = date($date_format, $time);
putenv("TZ" . ($tz_bak ? "=$tz_bak" : ""));
return $ret;

$format='F d,Y H:i a'? //? give format of date and time in which format you want time and date



This is cardinal function this ambition return? local time zone
$date='2009-06-29 11:02' // new data and time of server
If your server is in UK and your site is visiting from India . you ambition my site show date & time of ( Eg,[link widoczny dla zalogowanych], productions,uncomplicated site time,articles submitted date and time? ) in local time zone. without amending anyone object in? the data pedestal.

Display appointment and period as regional period region
Hello Reader

my favorite language is php. and i have amplified numerous simple for well as intricate projects in php.


So
I am? sharing some of my experience with you about time zone.

So come in the point.

Insert query in your file base

i understand my English is not so good . yet i all try apt enhance it.



if any problem to use please contact me by [link widoczny dla zalogowanych]
and


The post has been approved 0 times
Back to top
View user's profile
ghdhair100
Chief Gray



Joined: 15 Dec 2010
Posts: 2020
Read: 0 topics

Warns: 0/5
Location: England

PostPosted: Sat 4:44, 26 Feb 2011    Post subject:

一名男网友如愿以偿地娶到了一位美丽的女网友。
新婚之夜的洞房里,他们深情款款地替对方宽衣解带。
新郎说:“咱们既然做了夫妻,就该以诚相待。我有几个小秘密要告诉你,请你不要吃惊。”
新娘风情万种地浅浅一笑:“谁没有几个小秘密呀。既然你能把隐私告诉我,我也决定把我的小秘密告诉你。”
新郎用手抓下了头顶上的发套,对新娘说:“其实我已经秃顶了……”
没想到新娘把一头长发也随手摘了下来:“这有什么大惊小怪的,我生来就是全秃的 ……”
一见新郎盯着自己的秃头发愣,新娘主动坦白:“你看我的双眼皮漂亮吗?其实是人工割的……”
新郎却毫不吃惊:“这不算什么,你看我的左眼……” 他边说边把自己的左眼球从眼眶里取了出来,原来他的左眼是假的
新郎接着说:“不但我的左眼,我的牙也是假的……”
新娘不以为然:“不要紧,我的鼻子隆过五回了…… ”
新郎说:“不瞒你说,我脸上的皱纹是做的;
新娘欲言又止,过了一会儿才说:“我也不瞒你了,其实我这漂亮的脸蛋是整了八次容才整成这样的…”
新郎边脱上衣边说:“我的心脏可是靠起搏器维持跳动的……”
新娘也脱下乳罩:“我是做了隆胸手术后才这么丰满的……”
新郎的动作慢下来:“既然你这么坦白,我把我最大的秘密告诉你吧―― 由于经济危机爆发,我已经快破产了……”
新娘也象下了最大的决心:“本来我不想让人知道,但你对我这么好,我就告诉你好啦――其实我原来不是女人,我是做了变性手术的……”
“太好了!”新郎兴奋得叫起来,边说边扒掉自己的表皮,露出里面黑乎乎的毛 ,他紧紧搂着新娘:“亲爱的,别看我平时像个人样,其实我是一只猩猩,你跟我回到森林去生活吧。。。。。。。”
新娘说:“讨厌.人家想要孩子嘛,我不能生怎么办?“
新郎说:“那好办!看了我的日志要不转载都是咱孩子,一块带回森林去养吧...”
被逼的转吧!!
Many years ago there lived an Emperor who was so exceedingly fond of fine new clothes that he spent vast sums of money on dress. To him clothes meant more than anything else in the world. He took no interes
related links:


[link widoczny dla zalogowanych]


The post has been approved 0 times
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    -=MAPLE GALAXY=- Forum Index -> 1st Pelase Vote for Maple Galaxy! All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
deoxBlue v1.0 // Theme created by Sopel stylerbb.net & programosy.pl

Regulamin