Good morning guys. I currently have a DateTimePicker on my form with a custom format that goes like this:
Day Year Week
So.. I got the day and year down by using: dd yy
Which is the exact way he wants it. However, now week joins in. The week number is not one of the custom ones because it is.. well.. not normal. It goes something like this:
Anyways.. That goes on for the entire year.. Now, is there a way to make a new custom format class or void or override void or something or rather to do this? Like.. The function be called w for example and when you type it into the custom format box, it says it? For example:Code:January 1st - January 7th = Week 1 January 8th - January 14th = Week 2 January 15th - January 21st = Week 3 January 22nd - January 28 = Week 4 January 29 - February 4th = Week 5 etc.. etc..
12 06 15
That ^^ would be today for example. Thanks![]()




Reply With Quote