SetTime :: Problema

SetTime :: Problema

Postby pablovidal » Wed Oct 27, 2010 1: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: Select all  Expand view

 ? 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  Expand view

 ? 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: 401
Joined: Thu Oct 06, 2005 10:15 pm
Location: Republica Dominicana

Re: SetTime :: Problema

Postby pablovidal » Tue Nov 02, 2010 7:50 pm

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

Pablo Alberto Vidal
/*
------------------------------------------------------
Harbour 3.2.0, Fivewin 17.02, BCC7
------------------------------------------------------
*/
User avatar
pablovidal
 
Posts: 401
Joined: Thu Oct 06, 2005 10:15 pm
Location: Republica Dominicana

Re: SetTime :: Problema

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin para Pocket PC

Who is online

Users browsing this forum: No registered users and 3 guests