6/6/2012 3:33 PM | |
Joined: 4/21/2010 Last visit: 5/4/2022 Posts: 24 Rating: (2) |
Thanks Paranthaman, but i want know the number of actual week of the year. Regards
|
6/6/2012 3:34 PM | |
Posts: 2348 Rating: (265)
|
There is no standard function to define number of week, sorry. So if you have written your own algo - just use it :^) |
6/6/2012 3:37 PM | |
Joined: 9/27/2006 Last visit: 1/17/2025 Posts: 12330 Rating: (2700)
|
Hello basket; I don't believe there is an application in Step 7 to calculate the number of the week. But Wikipedia has an illustratioon of the algorithm you would need to calculate it, and it does not seem too complex (if you prepare a look-up table for the year and use the information on the DT functions shown earlier): http://en.wikipedia.org/wiki/ISO_week_date#Calculating_the_week_number_of_a_given_date Hope this helps, Daniel Chartier |
This contribution was helpful to1 thankful Users |
6/6/2012 4:07 PM | |
Joined: 10/7/2005 Last visit: 1/17/2025 Posts: 3030 Rating: (1058)
|
Hello Basket_78 the OSCAT library contains a "work_week" function which will calculate the week of the year in accordance with ISO8601. All Blocks are written in SCl,but should it interest you you go to http://www.oscat.de/downloadmanager.htmland downloadthe "oscat_basic_332_S7" library as well asthe english pdf documentation. |
Cheers |
|
This contribution was helpful to5 thankful Users |
Follow us on