how to check hour in textbox:<

Feb 5, 2011 at 12:42pm
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
textBox1->Clear();
SYSTEMTIME st;
GetSystemTime(&st);
textBox1->Paste("%dnHour",st.wHour);


I want to show only hour in textbox. I'm sure there is bug with Paste, but i dont know what should i use, help me:<. Oh and btw how to do to use UTC time:< help pls!:)
Last edited on Feb 5, 2011 at 12:42pm
Mar 2, 2011 at 2:36pm
sum1?:S
Mar 2, 2011 at 2:39pm
The top part uses pascal pointer notation- mistake? In C/C++, pointers are indicated with *.
http://msdn.microsoft.com/en-us/library/ms724390%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms724950%28v=vs.85%29.aspx

read this.
Topic archived. No new replies allowed.