Raised This Month: $ Target: $400
 0% 

change variable depending of time hours minutes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-06-2012 , 18:15   Re: array must be indexed <variable "hour">
Reply With Quote #1

For getting hours (and minutes and seconds, if you need) as integer, you can do:
Code:
new hour; time(hour);

Last edited by hleV; 05-06-2012 at 18:17.
hleV 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 00:25.


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