This post shows you How to change system date in C#.
Dragging DateTimePicker, Button from the Visual Studio toolbox into your form designer, then design a simple UI allows you to change the system date as shown below.
Defining a struct datetime as shown below.
link this.