Ho Moises,
>cInicial = CTOT( horarios.date + " " + "07:00")
Is the goal to have a datetime variable (tInicial) or a character variable (cInicial)?
tInicial = Dtot(horarios.date )+3600*Val(GetWordNum("07:00",1,":"))+60*Val(GetWordNum("07:00",2,":"))
cInicial = DTOC(horarios.date)+" " + "07:00"
--
Christof