Raised This Month: $ Target: $400
 0% 

String Variable with get_time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
raa
Senior Member
Join Date: Oct 2005
Old 12-31-2006 , 18:14   String Variable with get_time
Reply With Quote #1

Hi, I need a little help with getting the day of the week then determining if it's SAT, or SUN. then running code if its not one of those days.

This is a section of what I have so far;

Code:
public theday(){
new today[8] = {"SAT","SUN"}
get_time("%a", today, 3)

if(get_time("today") == SAT) || (get_time("today") == SUN)
	return PLUGIN_HANDLED
//somecode

}
spare some help? thanks..
raa 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 22:22.


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