Raised This Month: $ Target: $400
 0% 

how to get the time (current Unix timestamp) ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lucky109
Senior Member
Join Date: Jan 2005
Old 06-08-2007 , 18:02   how to get the time (current Unix timestamp) ?
Reply With Quote #1

i knew this for PHP

Code:
"time — Return current Unix timestamp"

int time ( void )

Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
how about amxx function command??
thanks~
lucky109 is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 06-08-2007 , 18:24   Re: how to get the time (current Unix timestamp) ?
Reply With Quote #2

You want the system time in seconds it seems?

Try using get_systime

http://www.amxmodx.org/funcwiki.php?go=func&id=251
hlstriker 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 10:38.


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