Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Eportfolio Date Format 3

Status
Not open for further replies.

satshergill

Programmer
Jan 25, 2002
34
GB
Can anybody help me change this from US to UK Format

Crystal say I need to run all the services as a Domain account who's regional setting are set to Uk
However has anybody noticed if that NT Integrated Security on the Web Component server is turned off and you set the service to start with this Domain Account, When you logon without entering any details it logs you on as this account automatically. What does everybody else think of crystal support???

Seems to be getting worse???
 
I'm using CE 9 at present and this worked with V 8.5 as well
have a look in the helper_js.csp and find this function "DisplayDateTimeEN (d) // Format: M/d/yyyy h:mm:ss AMorPM"

This is all controlled by the browser not the Server. You can change the script in this function or change which format is the default. this code is just under the above function.

if (GetLang() == "de")
Date.toCELocaleString = DisplayDateTimeDE;
else if (GetLang() == "fr")
Date.toCELocaleString = DisplayDateTimeFR;
else if (GetLang() == "ja")
Date.toCELocaleString = DisplayDateTimeJA;
else
Date.toCELocaleString = DisplayDateTimeEN; // default

This will allow you to show your dates in any format you require.

Rat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top