FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Pocket PC SetTime :: Problema
Posts: 401
Joined: Thu Oct 06, 2005 10:15 PM
SetTime :: Problema
Posted: Wed Oct 27, 2010 01:57 PM
Hola,

cuando pongo el settime, para actualizar la hora del pda no me funciona, siempre pone la misma hora, las 20:00 .-
y el setdate siempre me devuelve Falso
Code (fw): Select all Collapse
 ? time() + CRLF + dtoc( date() )

   settime( "18","45","00", "00" )
   setdate( "27","04","2010" )

 ? time() + CRLF + dtoc( date() )


tambien lo he puesto de esta manera
Code (fw): Select all Collapse
 ? time() + CRLF + dtoc( date() )

   settime( "18:45:00.00" )
   setdate( ctod( "27/04/2010" ) )

 ? time() + CRLF + dtoc( date() )
Saludos,



Pablo Alberto Vidal

/*

------------------------------------------------------

Harbour 3.2.0, Fivewin 17.02, BCC7

------------------------------------------------------

*/
Posts: 401
Joined: Thu Oct 06, 2005 10:15 PM
Re: SetTime :: Problema
Posted: Tue Nov 02, 2010 07:50 PM

??????? :cry: :cry: :cry: :cry:

Saludos,



Pablo Alberto Vidal

/*

------------------------------------------------------

Harbour 3.2.0, Fivewin 17.02, BCC7

------------------------------------------------------

*/
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: SetTime :: Problema
Posted: Fri Nov 05, 2010 11:33 AM

Pablo,

(UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien
nCorr := 1

I use:
SetTime( VAL( substr(aInfoNetz[1,4],1 ,2 ) ) - nCorr , VAL( substr(aInfoNetz[1,4],4 ,2 )), VAL( substr(aInfoNetz[1,4],7 ,2 )), 0 )

Regards,
Otto

Continue the discussion