Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Date
Message
From
23/09/2008 20:11:21
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
23/09/2008 20:02:39
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01350071
Message ID:
01350074
Views:
20
Hi Jay,

UPDATE: Looks like Rich's way is easier.

this will work if you can guarantee the format.
  aaa="20020123"
?DATE(VAL(LEFT(aaa,4)),VAL(SUBSTR(aaa,5,2)),VAL(RIGHT(aaa,2)))
>Is there a simple way to convert this:
>
>"2002/01/23"
>
>to this?
>
>"01/23/2002"
>
>It actually starts out as this:
>
>"20020123"
>
>If that matters.
Previous
Reply
Map
View

Click here to load this message in the networking platform