Retrieve WeekNumer from control? |
Post Reply |
Author | |
celebre
Newbie Joined: 11 July 2006 Location: Spain Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 24 October 2006 at 9:40am |
My application prints events given a week number, but it will depend of the DatePicker.FirstWeekOfYearDays value.
I can code a function to read that property and calculate the week number... but If the control calculated it previosly I think that is redundant.
Can I retrive the weeknumber from the control directly? Can't find any method in the help.
Greetings
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
No, you can't. Use the folowing simple formula:
-- WBR, Serge |
|
celebre
Newbie Joined: 11 July 2006 Location: Spain Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Ok, thx for the tip
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |