General information
Category:
Coding, syntax & commands
>I have a character field with a date stored in it in the following format
>
>mm/dd/yy
>
>I need to get this to be in this format ccyymmdd
>
>any suggestions?
SET DATE to mdy
lcDate = dtos(ctod("12/01/99"))
* then set date format back to your usual date format
The good thing about the above is that it uses the VFP settings for determining the century.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only