pasanbuddhika -7 Newbie Poster

I want to change system date and time.

TimeOfDay = CDate(DateTimePicker1.Value.ToString)

I use above code but it not work
Plese help me

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.