Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CAST Problem B... with multicasting invariance
Message
From
09/06/2004 05:37:42
 
 
To
08/06/2004 22:17:47
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00911051
Message ID:
00911591
Views:
15

Fabio,
I was reading the help file and the CAST Conversion from Character to Datetime is not Full but Partial.
You can get what you want this way:

t=DATETIME()
SET CENTURY OFF
?CAST(m.t AS D)=CAST(CAST(m.t AS C(8)) AS D)

or

t=DATETIME()
SET CENTURY ON
?CAST(m.t AS D)=CAST(CAST(m.t AS C(10)) AS D)

Peter

thanks Peter, i have not problem to found a workaround.

The problem is conceptual.
Previous
Reply
Map
View

Click here to load this message in the networking platform