You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Week of the Year calculation in BML

Accepted answer
22
Views
3
Comments

Summary:

Looking for options to calculate week of the year in BML code. We have a requirement to find if current week is Even week or an Odd number week - this is to handle biweekly recurrence pattern for a given business process.

Following code returns the same, but as this function is marked as deprecated, can you please suggest how the calculation can be done now?

print datetostr(getdate(),"w");

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!