Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date format
Message
 
To
26/11/2010 19:50:03
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01490641
Message ID:
01490647
Views:
49
>how can I convert:
>
>'12/01/2010 12:00:00 AM'
>
>to
>
>'12/01/2010'
>
>thanks for the help.
>
>regards,
>
>Jerry

Is Character or Datetime?

If is Character:
? LEFT('12/01/2010 12:00:00 AM', 10)
If is Datetime:
? TTOD(DATETIME(2010,12,1,0,0,0))
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform