Time Stamp and byte array
Posted
by JB_SO
on Stack Overflow
See other posts from Stack Overflow
or by JB_SO
Published on 2010-05-18T17:14:42Z
Indexed on
2010/05/18
17:20 UTC
Read the original article
Hit count: 305
Hi, I'm trying to insert a timestamp (hour:min:sec) into a two-byte array and i'm a little confused on how to accomplish this...any help is greatly appreciated!
int Hour = CTime::GetCurrentTime().GetHour();
int Minute = CTime::GetCurrentTime().GetMinute();
int Second = CTime::GetCurrentTime().GetSecond();
BYTE arry[2];
//Need to insert 'Hour', 'Minute', & 'Second' into 'arry'
Thanks!
© Stack Overflow or respective owner