Ola amigos
Atualizei minha versão FWH 9.12 para a 10.3, e esta acontecendo o seguinte problema
Na versão 9.12
SET DATE BRITISH
? Date() -> "27/12/2010"
Na versão 10.3
SET DATE BRITISH
? Date() -> "27/12/2010 00:00:00.0" <<---- esta aparecendo o "00:00:00.0" ao final
Tem como solucionar isso
Tive que retornar para a FWH 9.12
Problemas com Date() em 10.3
Problemas com Date() em 10.3
Jackson Douglas C. Brito
Boa Vista - RR - Brasil
FWH 12.09 Last Build
xHarbour Free
UESTUDIO
SQLRDD
Boa Vista - RR - Brasil
FWH 12.09 Last Build
xHarbour Free
UESTUDIO
SQLRDD
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Problemas com Date() em 10.3
In \fwh\source\function\valblank.prg ( version FWH 10.3 )
for present line no 64
substitute
The xHarbour function HB_IsDateTime( dVar ) should return .t. only when dVar has timepart also. But this function behaves differently in different versions of xHarbour. So, instead of relying on HB_IsDateTime() function of xHarbour, we need to have our own check if the date variable has timepart also or not.
for present line no 64
Code: Select all
if HB_IsDateTime( uVal )
Code: Select all
if ( uVal - Int( uVal ) ) > 0
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Problemas com Date() em 10.3
Ola amigos
Obrigado RAO
Obrigado RAO
Jackson Douglas C. Brito
Boa Vista - RR - Brasil
FWH 12.09 Last Build
xHarbour Free
UESTUDIO
SQLRDD
Boa Vista - RR - Brasil
FWH 12.09 Last Build
xHarbour Free
UESTUDIO
SQLRDD