Hi Guys
Its been sometime since i fired up blitzmax, Im having a problem updating a time buffer
I use the byte array time to store the time returned from calling time_, What i want to do is update the time array to contain a new time in the future by adding mins or hours to the array.
any help would be great, sorry but im having a brain dead day.
thanks
kev
Its been sometime since i fired up blitzmax, Im having a problem updating a time buffer
Local time:Byte[256],buff:Byte[256] time_(time) strftime_( buff,256,"%H:%M:%S - %d %b %Y",localtime_( time )); Print "real time: "+CurrentTime() Print "modifyed time: "+String.FromCString(buff)
I use the byte array time to store the time returned from calling time_, What i want to do is update the time array to contain a new time in the future by adding mins or hours to the array.
any help would be great, sorry but im having a brain dead day.
thanks
kev