On a dialog I write :
Local oOra,aOra:= "00:00"
when it create the get ash the time as "00:00:00"
IF i insert 19:47:00
then it save the time with "194700"
then I use a conversion string but I have the error in time
transform(left( alltrim((oDTavoli)->Orario),5),"99:99")
it let me show the time as "19:70"
How I can make to save and show the real time format hh/mm
thanks
Local oOra,aOra:= "00:00"
@ 38, 48 TMPicker oOra Var aOra OF oDlg SIZE 40, 12 PIXEL FONT oFont1 UPDATE
oOra:nStyle := nOr( oOra:nStyle, 9 )when it create the get ash the time as "00:00:00"
IF i insert 19:47:00
then it save the time with "194700"
then I use a conversion string but I have the error in time
transform(left( alltrim((oDTavoli)->Orario),5),"99:99")
it let me show the time as "19:70"
How I can make to save and show the real time format hh/mm
thanks
Best Regards, Saludos
Falconi Silvio
Falconi Silvio