views:

153

answers:

1

I am working on a project that involves converting data into dos date and time. using a hex editor (Hex Workshop) i have looked through the file manually and and found the values I am looking for, however I am unsure how they are calculated. I am told that the int16 value 15430 corresponds to the date 06/02/2010 but i can see no correlation, also the value 15430 corresponds to the time 07:34:12 but i am lost in how it is calculated. any help with these calculations would be very welcomed

+1  A: 

You need to look at the bits in those numbers.

See here for details: http://www.vsft.com/hal/dostime.htm

Paolo
yep just found the answer myself before checking back here, i've been looking for it for a while, cheers for the link
SteveCapegoat