how to check hour in textbox:<

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
sum1?:S
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.