M
Martin Ho
I have a small application which is running every x minutes and I need
to display remaining time on the screen in this format (example):
"Next start will be in: 00:13:25"
, and it should automatically be subtracting second, and minutes, till
it all comes to zero and then my app will start.
I have this code I found somewhere on the internet:
Dim MyDate1 As DateTime = DateTime.Now
Dim MyDate2 As DateTime = MyDate1.AddHours(3000)
Dim difference as TimeSpan
code]
. but I am not getting the rest.
I would of course use some timer and so... but could someone help me
to get time changes displayed in so much needed '00:00:00' format?
thanks a lot
Martin
--------========--------
via www.dotnetboards.com
to display remaining time on the screen in this format (example):
"Next start will be in: 00:13:25"
, and it should automatically be subtracting second, and minutes, till
it all comes to zero and then my app will start.
I have this code I found somewhere on the internet:
Dim MyDate1 As DateTime = DateTime.Now
Dim MyDate2 As DateTime = MyDate1.AddHours(3000)
Dim difference as TimeSpan
code]
. but I am not getting the rest.
I would of course use some timer and so... but could someone help me
to get time changes displayed in so much needed '00:00:00' format?
thanks a lot
Martin
--------========--------
via www.dotnetboards.com