Madza91 Posted November 4, 2008 Posted November 4, 2008 (edited) Hello... I writing some IRC Client and i have one little problem with Raw number 333...Raw 333 - This is returned for a TOPIC request or when you JOIN, if the channel has a topic.When I join some Channel this is what I get:... 333 Nick #channel SomeBody 1225814334,In mIRC this number 1225814334 can be converted with this command://echo -a $asctime(1225814334)And i see is 1225814334 = Tue Nov 04 16:58:54Than, my question is does somebody have idea how to convert this number (1225814334) to a readable value (Tue Nov 04 16:58:54) ?!?!Please help ;/ Edited November 4, 2008 by n3nE [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
rover Posted November 4, 2008 Posted November 4, 2008 Hello... I writing some IRC Client and i have one little problem with Raw number 333... When I join some Channel this is what I get: ... 333 Nick #channel SomeBody 1225814334, In mIRC this number 1225814334 can be converted with this command: //echo -a $asctime(1225814334) And i see is 1225814334 = Tue Nov 04 16:58:54 Than, my question is does somebody have idea how to convert this number (1225814334) to a readable value (Tue Nov 04 16:58:54) ?!?! Please help ;/looks like its Epoch time you'll need to convert the format yourself EPOCH time, converting to and from http://www.autoitscript.com/forum/index.ph...67&hl=epoch Happy Holocene n3ne #include <Date.au3> $sNewDate = _DateAdd( 's',1225814334, "1970/01/01 00:00:00") ConsoleWrite('-$sNewDate = ' & $sNewDate & @crlf) MsgBox( 4096, "", "Date: " & $sNewDate ) I see fascists...
Madza91 Posted November 4, 2008 Author Posted November 4, 2008 Oh man, you are the best [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
TehWhale Posted November 4, 2008 Posted November 4, 2008 Hello, It appears you have found your answer to your question. Please take the time to edit your thread title with [RESOLVED] so others know that is it resolved. You can do this by scrolling to the top of your thread, clicking EDIT and then Full Edit and adding: "[RESOLVED]" to the front of your thread title. Thanks for your cooperation.
Madza91 Posted November 4, 2008 Author Posted November 4, 2008 Ok! [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
rover Posted November 4, 2008 Posted November 4, 2008 Oh man, you are the best @n3neNo, just not the worst Cheers I see fascists...
Madza91 Posted November 4, 2008 Author Posted November 4, 2008 Hehehe P.S. Look at my Custom member title (below avatar) ;D [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now