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.
Old posts that have not been replied to for several years.
grinch157
Halfop
Posts: 42 Joined: Tue Nov 11, 2003 4:34 pm
Post
by grinch157 » Fri Nov 28, 2003 11:49 am
hey, can anyone tell me what the correct command is for having just the time and not the date so it can be added to a string???
any and all help is appreciated.
thanks in advance
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Fri Nov 28, 2003 1:41 pm
Either use tcl's native
clock command or the less verbose 'strftime' (provided by eggdrop, so check tcl-commands.doc for details)
Have you ever read "The Manual"?
grinch157
Halfop
Posts: 42 Joined: Tue Nov 11, 2003 4:34 pm
Post
by grinch157 » Fri Nov 28, 2003 10:07 pm
i have checked the tcl-commands.doc before i posted.. and it's not very specific about it..... it talks about setting the formats but the few examples it gives they include dates and thats not what i want.. (unless i'm understanding right?)
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Fri Nov 28, 2003 10:11 pm
a formatted string of time using standard strftime format .
Try 'man strftime'
Have you ever read "The Manual"?
grinch157
Halfop
Posts: 42 Joined: Tue Nov 11, 2003 4:34 pm
Post
by grinch157 » Fri Nov 28, 2003 11:41 pm
okay,
so i can use the strftime command as is right? meaning i don't have to input a string?? if so thats way cool!
thank you so much your help man..