In VB, two functions are available.
CDate converts a String variable like "Friday May 11" to a Date variable.
Format converts a Date (or any numeric value) to a String
Dim MyDateString as String, MyDate as Date
MyDate = Now
MyDateString = Format( MyDate, "dddd mmmm dd")
Gives MyDateString the value "Friday May 11"
N.B. The function uses the country parameters of the computer, so in my case
"Vendredi Mai 11"
> I got the next problem im Visual Foxpro, I like to program a weekplanner
> for a whole year, but I like to work with a solution like
> Friday 11 May, instead of
> 11-05 or 11 May
> I think the solution will be the same for Foxpro as Visual basic.
> I can't figure out how to do that, if someone can help me it will be great