Error - template LAYOUT-DATA-WRAPPER not found

A configuration error was detected in the CGI script; the LAYOUT-DATA-WRAPPER template could not be found.

Error - template STYLE-SHEET not found

A configuration error was detected in the CGI script; the STYLE-SHEET template could not be found.

Error - template SUB-TOP-BANNER not found

A configuration error was detected in the CGI script; the SUB-TOP-BANNER template could not be found.
Subject:
From:
Indra Sofiar <[log in to unmask]>
Reply To:
PCSOFT - Personal Computer software discussion list <[log in to unmask]>
Date:
Fri, 12 Mar 1999 16:52:39 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Help please,

A friend from IT dept asked me a favor to write a short program using Visual FoxPro for changing internal date into year 1983 as a starting point. Then I wrote the following:

store day(date()) to myday
store month(date()) to mymonth
newyear = year(date()) - 16

newdate = alltrim(str(mymonth)) + "-" + alltrim(str(myday)) + ;
"-" + alltrim(str(newyear))

? "Current date is " + newdate + "."

! date newdate

Unfortunately, it wouldn't work and always ended up in "INVALID DATE".

I have tried to change the data type ("newdate") into Character, Numeric, Date but it still wouldn't work. Why?

Thanks in advance for your help.

Regards,

Indra Sofyar
[log in to unmask]

         PCSOFT only works if you contribute. Send your messages
              to be posted to: [log in to unmask]

ATOM RSS1 RSS2

LISTSERV.ICORS.ORG Secured by F-Secure Anti-Virus CataList Email List Search Powered by LISTSERV