Raised This Month: $ Target: $400
 0% 

function should expire on specific date


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 03-03-2006 , 13:46   function should expire on specific date
Reply With Quote #1

I have a function which should work only until a specific date and expire after.

I have the idea that a if code have to be placed into the first lines of that function:

Code:
expireDate = "2006/04/01" if (currentDate < expireDate) return PLUGIN_HANDLED

But I need help on the date checking.

Thanx in advance!
Guenhwyvar 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 20:17.


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