thanks, i was doing a bit or research and i came across this function. Ive been reading up on it and i think its exactly what ive been looking for. Do you know of any examples how this function can be implimented?
my programming knowledge is basic and im am not sure what this function requires to get it working. all i have is my 8 bytes stored in
unsigned char stamp;
i know im asking quite a bit but im completely stuck. can you help me out? its ok if you cant il try to research some more
thanks ancient dragon. ive just got a couple more questions then hopefully il be sorted! 1st one is that OleTimeToSystemTime is bringing up an error as an undefinded function. This stumped me a little.
and second, the number for DATE dt in my prgram will be a string of hex stored in an array. will i stille be able to get the time and date from it?
so i end up with the timestamp stored in my array. But im worried that i will not be able to use it stored in this way? will i be able to input the variable time_array into the varianttimetosystemtime function?
my time stamp is stored in little endian format which is why i stored each byte into a seperate variable so that i could then reverse the bits? Will the function do all this for me or will i need to feed it the variable in the correct format for it to work. For instance i think it works from a ieee float variable where as my array just stores the eight bytes as they come. Will i need to convert to ieee or will the function just get the correct information?