Setting the current time...Help
Posted: Sat Jun 06, 2009 8:46 am
Hey, I thought I would have got this working by now, but NB Time function
documentation is lacking any practical examples. I have used almost every
C code example on the web to get time I set from my SB72EX. I can modify
tm struct without a problem but I alway end up with a static time value
or overwrite the time I set with the dreaded Epoch time from Jan 1 1970.
Im using Network SDk from 2005 and I dont have RTC.h
I also read that time.h and nbtime.h will be needed but cant co exist,
What is the real deal with that?
Can anyone point me at a plain and simple practical example of setting the time
with set_time or any other Netburner method?
Thanks,
Sp
documentation is lacking any practical examples. I have used almost every
C code example on the web to get time I set from my SB72EX. I can modify
tm struct without a problem but I alway end up with a static time value
or overwrite the time I set with the dreaded Epoch time from Jan 1 1970.
Im using Network SDk from 2005 and I dont have RTC.h
I also read that time.h and nbtime.h will be needed but cant co exist,
What is the real deal with that?
Can anyone point me at a plain and simple practical example of setting the time
with set_time or any other Netburner method?
Thanks,
Sp