× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am working my way through the V6 EGL tutorial and noticed that
code for a date results in a missing year. Note - this is tutorial code
right from the V6 application and not my code.

For example. The following code is supposed to generate a web page with
a date formatted as specified. When I run the actual code, and change
the date from 10/01/1952 to 10/02/1952, the page referehses and the date
changes to 00/02/1952.

Is there any kind of known bug in EGL date handling to account for this?


dataItem dateTest char(10) {displayName = "Test date field", dateFormat
= "mm/dd/yyyy", value = "10/01/1952"} end



package pagehandlers;

import data.*;

PageHandler DataItemTest {view="DataItemTest.jsp",
onPageLoadFunction=onPageLoad}

//Variables

inputChar charTest;

outputChar charTest;

inputDate dateTest;

outputDate dateTest;

inputCurrency numericCurrencyTest;

outputCurrency numericCurrencyTest;

inputBoolean booleanTest;

outputBooleanMessage char(45);

//Function definitions

Function onPageLoad()

End

Function moveTestValues();

outputChar = inputChar;

outputDate = inputDate;

outputCurrency = inputCurrency;

if (inputBoolean == "Y")

outputBooleanMessage = "Check box is checked. True returned.";

else

outputBooleanMessage = "Check box is not checked. False returned.";

End

End

End



-----------------------------------------
This message and any attachments are intended for the individual or
entity named above. If you are not the intended recipient, please
do not forward, copy, print, use or disclose this communication to
others; also please notify the sender by replying to this message,
and then delete it from your system. The Timken Company / The
Timken Corporation

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.