Raised This Month: $ Target: $400
 0% 

Convert Unix Time steps to date


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
waza123
Junior Member
Join Date: Sep 2006
Old 02-05-2009 , 10:03   Convert Unix Time steps to date
Reply With Quote #1

How to convert unix time steps to normal date/time ?

like in PHP:

PHP Code:
$unix_time time();
print 
date("d.m.Y - H:i:s"$unix_time);
// Result: 05.02.2009 - 17:07:31 
i need the same for AMXX , please help:

Unix time AMXX Function:
get_systime()

How to convert numbers "1233845858" to normal date/time ?

Thanks.

Last edited by waza123; 02-05-2009 at 10:05.
waza123 is offline
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 02-05-2009 , 10:08   Re: Convert Unix Time steps to date
Reply With Quote #2

http://www.amxmodx.org/funcwiki.php?go=func&id=249
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
waza123
Junior Member
Join Date: Sep 2006
Old 02-05-2009 , 10:28   Re: Convert Unix Time steps to date
Reply With Quote #3

this is not a unix time steps converter.
waza123 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-05-2009 , 14:47   Re: Convert Unix Time steps to date
Reply With Quote #4

PHP Code:
new date[32];
get_time("%d.%m.%Y - %H:%M:%S"date31); 
Why does this not work for you?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode