Page 1 of 1 1
Topic Options
#34473 - 2002-12-11 08:28 PM @DATE Help
Trox Offline
Fresh Scripter

Registered: 2002-09-17
Posts: 34
Loc: St. Petersburg, FL
I've gone through the manual but cannot find exactly what I need.....

How do I use the @DATE to run a script between dates....

This is what I tried (try not to laugh to much:p)

If @DATE <= "2002/12/01" or >= "2002/12/31"
run script
EndIf
_________________________
Thanks ~ Trox John Wayne's not dead - he's frozen. And as soon as we find the cure for cancer we're gonna thaw out the duke and he's gonna be pretty pissed off! ~Dennis Leary~

Top
#34474 - 2002-12-11 08:33 PM Re: @DATE Help
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Does this do it?
Since you are comparing a string representation of a date this should work properly.
code:
If @DATE >= "2002/12/01" and @DATE <= "2002/12/31"
? "between dates in the month of Dec."
EndIf



[ 11. December 2002, 20:33: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#34475 - 2002-12-11 08:50 PM Re: @DATE Help
Trox Offline
Fresh Scripter

Registered: 2002-09-17
Posts: 34
Loc: St. Petersburg, FL
Thanks HB. That did it for me.
_________________________
Thanks ~ Trox John Wayne's not dead - he's frozen. And as soon as we find the cure for cancer we're gonna thaw out the duke and he's gonna be pretty pissed off! ~Dennis Leary~

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.06 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org