Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert two-digit year in date
Message
From
30/10/2007 16:34:00
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
30/10/2007 16:25:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01265173
Message ID:
01265180
Views:
10
Of course! I was trying to think of an in-line solution, but that will work great. Thanks!

>SET CENTURY ON?
>
>>The Patient.ptDOB below is a 2-digit date. What is the simplest way to convert it to a 4-digit year date in a SQL statement? Thanks!
>>
>>
>>PADR(THIS.Strip(TRANSFORM(Patient.PtDOB, '@T')), 30, ' ')   AS PID_07_00_DateOfBirth, ;
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform