Hello all -
In VC++, the GetLocalTime() function - is there any way to break up the hours or minutes into their individual int components.
Ex: st.wHour may equal 12... and st.wMinute may equal 23.
I want to return in the wHour the 1 as one variable and the 2 as another.
In the wMinute return the 2 and the 3 as two seperate int variables.
and if it was 1:02 return (0 and 1 for hour) and (0 and 2 for minutes)
Thanks for trying to help!