egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

timezone etc..
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Mon Oct 29, 2007 1:18 pm    Post subject: timezone etc.. Reply with quote

guys my bot have date time

ultralord@grid:~/eggdrop$ date
Mon Oct 29 12:17:40 CDT 2007

i am from greece .. what i must write in .conf to have the correct hour in my bot?

thnx
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Oct 29, 2007 2:09 pm    Post subject: Reply with quote

set timezone
set offset
Back to top
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Mon Oct 29, 2007 3:08 pm    Post subject: Reply with quote

yes but i dont know what i must write :S i am confused about date times and i dont know how timezone/offset works
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Oct 29, 2007 5:50 pm    Post subject: Reply with quote

I'm in the US, east coast, my time zone is "EST" (Eastern Standard Time) and the offset here is -5 (minus 5 hours from GMT (Grenwich Mean Time, the 0 point for time zones..) Presumably greece is a few hours ahead of GMT. You can google info about your time zone.
Back to top
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Mon Oct 29, 2007 6:00 pm    Post subject: Reply with quote

you're in EET timezone and the offset is +2 (+3 in daylight saving)
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Mon Oct 29, 2007 7:46 pm    Post subject: Reply with quote

i put

set timezone "EET"
set offset "+2"

in conf but i dont see any change i make restart the bot..

what is wrong? :/
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Oct 29, 2007 8:48 pm    Post subject: Reply with quote

ultralord wrote:
i put

set timezone "EET"
set offset "+2"

in conf but i dont see any change i make restart the bot..

what is wrong? :/

The time is the time on the box the eggdrop is running on, NOT where you actually live.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Mon Oct 29, 2007 9:34 pm    Post subject: Reply with quote

yes.. i but i want my eggdrop runs the same date/time with my country..


My shell and the date/time on shell..
ultralord@grid:~$ date
Mon Oct 29 20:28:59 CDT 2007

but i want my eggdrop to have the same date/time with me in my country..

http://www.timeanddate.com/worldclock/city.html?n=26

also i make many changes on eggdrop.conf and nothing happend.. i kill the proccess i change the .conf and i run it again.. but same problem :s

anyone ?
Back to top
View user's profile Send private message
Callisto
Halfop


Joined: 13 Mar 2005
Posts: 86

PostPosted: Tue Oct 30, 2007 3:12 am    Post subject: Reply with quote

Where is your shell located ? what country? that may help us a little to start with.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Oct 30, 2007 3:25 am    Post subject: Reply with quote

These might help, assuming your shell is linux..If not, try googling "setting <some shell/platform> timezone" where <some shell/platform> might be "bsd" or "bash" or whatever your particular case may be.

http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/
http://www.cyberciti.biz/tips/date-command-set-tz-environment-variable.html
Back to top
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Tue Oct 30, 2007 3:33 am    Post subject: Reply with quote

rosc2112 tz is locked in my shell also i cant make change in /etc/localtime..

Callisto i think in illinois.. and me i am from Greece
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Tue Oct 30, 2007 8:08 am    Post subject: Reply with quote

ultralord wrote:
i put

set timezone "EET"
set offset "+2"

in conf but i dont see any change i make restart the bot..

what is wrong? :/
kill the bot, then start again
another way to set this up:
Code:
set env(TZ) "EET +2"
Back to top
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Tue Oct 30, 2007 9:29 am    Post subject: Reply with quote

doesnt correct time..

i have script for time.. to check but..

[15:28:47] -> Ops #channel: !time
[15:28:49] -Botnick- [« Current time 11:28 30 Oct 2007 »]
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Tue Oct 30, 2007 9:44 am    Post subject: Reply with quote

ultralord wrote:
doesnt correct time..

If you put in the settings shown to you here into your conf file and they do not alter the time show when using ctcp TIME, there are 2 possible reasons:
1) your bot is "stuffed", recompiling may help
2) if it is your shell; then I suggest discussing it with the admins and if that doesn't work, find another shell (you should be able to have the time displayed how you want)
Back to top
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Tue Oct 30, 2007 10:24 am    Post subject: Reply with quote

i cant set the date/time with other way? ;/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber