Background: I have a tool that grabs files from a network location based on the file name. There are various files, but the names are all based on the creation date (report052209.txt).
What i need to do is take the date selected from a datetimepicker and save a two digit day, month, and year to seperate variables.
I can't for the life of me get this to work. Just for the sake of practice I've tried creating a form with just a date picker, a button, and a textbox and writting code that will either on button.click display a two digit month in the textbox, or store the two digit month in a variable and display the variable in the text box.
I still want the datetimepicker to display the full date for the user's convenience.
Any help is appreciated.