I want to run my windows service every day on only a certain time so I did the following but how do I replace this date in every day?
Dim checkTime As DateTime
checkTime = checkTime.Parse("7/23/2010 3:41 PM")
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you just want it to have today’s date and check for exactly 3:41PM you can do:
You have the C# tag but your code is in VB so the VB equivalent is: