Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>There has to be an easier way!!!!!
>>
>>A request for our Scheduling module to handle recurring day of the months. For example, the 1st and 3rd Wednesday of every month, etc. I created a cumbersome routine and really feel that there should be some easier way to determine the 'Week Day' of the month.
>>
>>Looking for suggestions or a means to easily identify if any date would satisfy a 'Week Day' of the month such as above. Any suggestions would be welcome.
>>
>>Thanks in advance
>
>Use the Windows Scheduler instead of creating your own. This should be much easier.
>
>If you still want to do it yourself: You didn't explain your cumbersome routine, but a combination of the week() function and the dow() function - plus related SET commands - should be fairly easy to use.
It needs to reside in our module. Basically I am determining the day number and if it is 1-7 then it is in the fist week of month, 8-14 in second week of month etc.
Just seems like there should be something simple.
Thanks for the reply
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement