Link to home
Start Free TrialLog in
Avatar of bish wakim
bish wakim

asked on

Is there a simple Control that gives time and date in wpf c#

I am using an application I have developed with WPF C# for teaching in class. I need a to build a simple control which I can put on the screen and have the date and time updated automatically.  
Please help!  
SOLUTION
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bish wakim
bish wakim

ASKER

In fact I need something simple.
May you tell me how can use code for this.
I need to retrieve day,month,year each time I enter my program. and have the time updated during the lesson. I rise my offer to 500 points.
Thanks
use dispatchertimer for updating your datetime on a schedule
like below:
http://stackoverflow.com/questions/479376/wpf-net-best-way-to-trigger-an-event-every-minute

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks