>Hi
>
>I have got this character expression:
>
>a="22/05/2006 05:30:00 PM"
>
>and this other one datime expression:
>
>b= 22/05/2006 21:00:00 PM
>
>My question is:
>
>How to transform the variable named a into a datetime effective expression, so I could do the operation:
>
>c= b - a
>
>Thanks in advance.
>Carlos Burgos
Carlos,
Try
SET DATE BRITISH
SET HOURS TO 24
lcTime = [ 22/05/2006 11:00:00 PM]
?CTOT(m.lctime)
If it's not broken, fix it until it is.
My Blog