This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

timezone etc..

General support and discussion of Eggdrop bots.
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

timezone etc..

Post by ultralord »

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
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

set timezone
set offset
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

yes but i dont know what i must write :S i am confused about date times and i dont know how timezone/offset works
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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.
User avatar
CrazyCat
Revered One
Posts: 1299
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

you're in EET timezone and the offset is +2 (+3 in daylight saving)
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

i put

set timezone "EET"
set offset "+2"

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

what is wrong? :/
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

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 ?
C
Callisto
Halfop
Posts: 86
Joined: Sun Mar 13, 2005 11:04 am

Post by Callisto »

Where is your shell located ? what country? that may help us a little to start with.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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-linu ... ser-basis/
http://www.cyberciti.biz/tips/date-comm ... iable.html
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

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
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

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: Select all

set env(TZ) "EET +2"
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

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 »]
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

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)
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

i cant set the date/time with other way? ;/
Post Reply