Countdown Timer
Yeah see, I never would have known that, I appreciate it very much, thank u.
View ArticleCountdown Timer
Try this: label1->Text = String::Format("{0}:{1:D2}:{2:D2}", diff.Hours, diff.Minutes, diff.Seconds);
View ArticleCountdown Timer
Yeah I know how to use String::Format, but I don't know what to type in the parentheses to make it format the last 7 digits out.
View ArticleCountdown Timer
Yeah, that's why I mentioned formatting the value. Use String::Format().
View ArticleCountdown Timer
Thats awesome, thanks a lot. Have u run that code? If u haven't, run it. I don't understand that extra decimal value it is showing, it's showing an extra decimal value with 7 digits. I wanted to know...
View ArticleCountdown Timer
Try this: System::TimeSpan diff = System::DateTime::Now.Subtract(dateTimePicker1->Value); label2->Text = diff.ToString(); You probably want to format it a little nicer, I'm sure you can...
View ArticleCountdown Timer
I had different code using the Timespan feature before but I don't have it anymore nor do I have a clue what I even had. This is what I have now.private: System::Void...
View ArticleCountdown Timer
Yeah that's what I thought too but I'm pretty sure I did it wrong because I got a bunch of errors. In fact I know that I did it wrong but I don't know how to do it right. If u could, would u please...
View ArticleCountdown Timer
Try using the System::TimeSpan structure. It was designed to add or substract a time interval from a DateTime.
View ArticleCountdown Timer
I can't figure out how to make a timer countdown rather than counting up, I know that it has to do with System::DateTime::Subtract. I have a DateTimePicker, and I want the timer to start right when you...
View Article
More Pages to Explore .....