Raised This Month: $ Target: $400
 0% 

Get Time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-19-2018 , 06:03   Re: Get Time
Reply With Quote #5

Quote:
Originally Posted by PurposeLessx View Post
How I will use it?

PHP Code:
//static ctime[3], btime[3];
new ctimebtime;
time(ctimebtime);

if(
ctime == 11//if hours are 11

if(btime == 0// if minute(s) is 0 
Yes, that is correct and is probably the best way to retrieve the current time in h/m/s as integers.
__________________

Last edited by klippy; 06-19-2018 at 06:04.
klippy is offline
 



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 12:29.


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