SetTime :: Problema

Post Reply
User avatar
pablovidal
Posts: 398
Joined: Thu Oct 06, 2005 10:15 pm
Location: Republica Dominicana
Contact:

SetTime :: Problema

Post by pablovidal »

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: Select all

 ? 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: Select all

 ? 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
------------------------------------------------------
*/
User avatar
pablovidal
Posts: 398
Joined: Thu Oct 06, 2005 10:15 pm
Location: Republica Dominicana
Contact:

Re: SetTime :: Problema

Post by pablovidal »

??????? :cry: :cry: :cry: :cry:
Saludos,

Pablo Alberto Vidal
/*
------------------------------------------------------
Harbour 3.2.0, Fivewin 17.02, BCC7
------------------------------------------------------
*/
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: SetTime :: Problema

Post by Otto »

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
Post Reply