>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
The line
b= 22/05/2006 21:00:00 PM is an illegal expression, but assume that you mean to say that b is a datetime expression, you can use
c=b-Ctot(a)