The DateTimePicker control of Tm
Tm default is the current time,
Database has been removed to the value of the week, the format is: the day 123456, a time to take a value, for example: six
String tWk=dataWk;
Consult how to value assignment of tWk to Tm controls, the control time corresponding to the specified time,
CodePudding user response:
Conversion is not a problem, the problem is how to put a "six" into a specific date is January 2nd week 6, 1 month is 9 weeks,If simple transformation, with a switch to go,
CodePudding user response:
Get the current time is the time that database just take several weeks to come out,Using the current time + weeks to take out a few=new time,
CodePudding user response:
This week is how an addition? Didn't understand,CodePudding user response:
Well, the current time is on January 2, 2021 17:14:30, database out is 1 week, how?