datetime manipulation
Hi there!
I′m a newcomer, so I′m not sure this is the correct thread...sorry if it′s not...
I have the following problem: I need to show in a windows Form the conversion from a normal dd/mm/yyyy shown in a date time picker to two textboxes (and viceversa). The first containing the day of the year (from 1 to 366) and the second the year itself (this oe is easy!).
For example: txtdayofyear.text = "360", txtyear.text="2006" ->> Datetimecontrol.value="26/12/2006"
My problem grows as i need to convert from one format to another in both senses, depending of what button the user presses.
I have found a Date "dayofyear" funvtion, which gives me the partial solution, but I still don′t know how to convert from de "360" "2006" to "26/12/2006"
Thanks a lot to anybody who helps!!!
Mikel

