Jump to content
  • 0

about time


Question

5 answers to this question

Recommended Posts

Posted (edited)

Sunday = 0 :)

4 - Week day (0 for Sunday, 6 is Saturday)

ya.. why??i didnt set it 0 but still held on sunday... i think u didnt see my post clearly..

Edited by donkeyg
Posted

because you didnt set a condition to check for 0 ...so it's still running on sunday.....

you're the one who didnt read the post clearly... /swt

should be

if(gettime(4) == 2 || gettime(4) == 4 || gettime(4) == 6 || gettime(4) == 0) end;

Posted

because you didnt set a condition to check for 0 ...so it's still running on sunday.....

you're the one who didnt read the post clearly... /swt

should be

if(gettime(4) == 2 || gettime(4) == 4 || gettime(4) == 6 || gettime(4) == 0) end;

means it will be held on tuesday, thursday, and saturday only?

Posted

dunno....you only post 1 line..how i know what your script does....

and...

the script...check whether the gettime(4) value is 2,4,6 or not....if yes...then the script END

2 = tuesday
4 = thursday
6 = saturday

and if you want it to check it's sunday or not...you have to use

if( gettime(4) == 0 )

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...