Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SET DATE AMERICAN && MM/DD/YYYY
SET CENTURY OFF
dMyDate = date() && 10/26/00
<code>
procedure GetEuroDate
*-- Example procedure to get a European date.
local cDateFormat, cCenturyFormat
cDateFormat = set('date') && "American"
cCenturyFormat = set('century') && "OFF"
SET DATE BRITISH && 26/10/00
SET CENTURY ON && 26/10/2000
<code to get European date>
SET DATE &cDateFormat. && "American"
SET CENTURY &cCenturyFormat. && "OFF"
return
To show a date as mm/yyyy. You can show it as a character string (I don't know if VFP will allow you to use a partial date format).
dMyDate = date() && 26/10/2000
cMyMthYr = month(dMyDate)+"/"+year(dMyDate) && "10/2000"