Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29238 Discussions

calculate a range of days in calendar values

kooka
Beginner
306 Views

Hi all, I'm working in a program that uses a date and time picker control, i have retrieved a systemtime structure and converted it toFILETIME structure, like says in theMSDN, then i want to take the tiempo1%dwLowDateTime and tiempo1%dwhighDateTime values (where tiempo1 is a FILETIME type), and join them in a integer*8 value to take a value and substract from another integer*8 value in another FILETIME structureto take a duration between two dates. I've been triing to copy the valuesin the FILETIME structure to a ULARGE_INTEGER structure like says inMSDN, to retrieve a QuadPart (which is a ULARGE_INTEGER 64-bit value) and realize operations, but ionly can't do it(i only see ularge%lowvalue and ularge%lowvalue), PLEASE HELP ME!!,Instead of that, how can i do that operation with the two values of FILETIME structure.

note-> i have CVF 6.6a.Tanks For your comments buddies!! (and sorry my english : ( )

0 Kudos
0 Replies
Reply