hey, im new to the whole time calculation thing (and i hate it very much). this is for the calendar control for DCX

i tried searching the threads before asking, and the only relevant thread i found was somewhat confusing

i understand that SYSTEMTIME needs to be converted to FILETIME, but that is a 64bit number.
im not quite sure how that is calculated into a value such as $ctime, which mIRC scripts can process easily

any help would be appreciated
(please dont send me links to msdn, ive browsed that enough and dont really understand it as it is)