- Code: Select all Expand view
#pragma BEGINDUMP
#include <hbapi.h>
#include <windows.h>
HB_FUNC( FILETIMETODATE ) // cFileTime --> dDate
{
SYSTEMTIME st;
FileTimeToSystemTime( ( FILETIME * ) hb_parc( 1 ), &st );
hb_retd( st.wYear, st.wMonth, st.wDay );
}
#pragma ENDDUMP