Arreglo fechas nulas
parent
534d38cc2f
commit
5acf5e3f28
17
Fdbf.cpp
17
Fdbf.cpp
|
|
@ -167,8 +167,23 @@ __int64 Fdbf::getI64(int col)
|
||||||
mm = atol(&str[4]);
|
mm = atol(&str[4]);
|
||||||
str[4] = 0;
|
str[4] = 0;
|
||||||
aa = atol(str);
|
aa = atol(str);
|
||||||
CTime tt(aa,mm,dd,0,0,0,-1);
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
CTime tt;
|
||||||
|
if (aa == 0 || mm == 0 || dd == 0)
|
||||||
|
tt = CTime::GetCurrentTime();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
CTime t2(aa, mm, dd, 0, 0, 0, -1);
|
||||||
|
tt = t2;
|
||||||
|
}
|
||||||
return(tt.GetTime());
|
return(tt.GetTime());
|
||||||
|
}
|
||||||
|
catch (...)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//*****************************************************************************************
|
//*****************************************************************************************
|
||||||
bool Fdbf::set(int ncol, int nRow, Cb_file *file)
|
bool Fdbf::set(int ncol, int nRow, Cb_file *file)
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,8 @@ copy $(OutDir)\utiles.lib ..\lib\$(IntDir)</Command>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>copy $(OutDir)$(TargetFileName) ..\BIN\$(IntDir)
|
<Command>copy $(OutDir)$(TargetFileName) ..\BIN\$(IntDir)
|
||||||
copy $(OutDir)\utiles.lib ..\lib\$(IntDir)</Command>
|
copy $(OutDir)\utiles.lib ..\lib\$(IntDir)
|
||||||
|
copy $(OutDir)$(TargetFileName) D:\Proyectos\Olivia\Instal2.0\bin\</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
|
@ -225,7 +226,8 @@ copy $(OutDir)\utiles.lib ..\lib\$(IntDir)</Command>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>copy $(OutDir)$(TargetFileName) ..\BIN\$(IntDir)
|
<Command>copy $(OutDir)$(TargetFileName) ..\BIN\$(IntDir)
|
||||||
copy $(OutDir)\utiles.lib ..\lib\$(IntDir)</Command>
|
copy $(OutDir)\utiles.lib ..\lib\$(IntDir)
|
||||||
|
copy $(OutDir)$(TargetFileName) D:\Proyectos\Olivia\Instal2.0\bin\</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue