[SOLVED] Is it possible to change the default year/month/date separator "/"?
Webfocus will always display YYMD format dates as 'YYYY/MM/DD'. Is it possible to change the "/" separator to "-" system wise, like "YYYY-MM-DD', rather than to use functions?
Thanks.This message has been edited. Last edited by: <Kathryn Henning>,
7.66 and 7.704 System: Windows / AIX / Linux Output: Mostly HTML, with some PDF, Excel and Lotus(!)
7.66 and 7.704 System: Windows / AIX / Linux Output: Mostly HTML, with some PDF, Excel and Lotus(!)
May 23, 2013, 07:21 PM
Waz
Yes, Its also in the documentations as well.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
May 23, 2013, 08:17 PM
Vivian
And you will find almost everything you would ever want to know about dates and date manipulation in (Almost) 1001 Ways To Work With Dates in WebFOCUS.
Vivian
Vivian Perlmutter Aviter, Inc.
WebFOCUS Keysheet Rel. 8.0.2 (Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2 Focus since 1982 WebFOCUS since the beginning Vivian@aviter.com
May 24, 2013, 04:50 AM
Trilochan
You can change date format to any format as required by below code.
These answers are all in computes and defines but the question was if it can be changed in the default settings.
I would think that should be possible as well as the default sequence in stead from YYMD to DMYY or MDYY
I am sure it is somewhere in de documentation but where....
Prairi!
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
May 26, 2013, 10:11 AM
George Patton
Well, I don't care about the separators so much, but to my mind there is only one logical way to write a date and that is YYMD. It's the SI standard, and I cannot fathom why various countries have a problem with making it a universal standard. I grew up with DDMYY, and I can at least understand that, but the American MDDYY drives me nuts.
George, I completely agree with you. Best-before dates are one example of completely indecipherable date formats. Glad to find someone else on the same hobby horse as mine!
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
May 27, 2013, 06:36 PM
FrankDutch
I do agree on the YYMD standard too.
I will propose this to the politicians, maybe we can exchange some other things... America goes Celsius and centimetre , kilometre , kilogram , and.... Maybe ...euro ?
We all already try to talk English or one of those dialects related to English.
And maybe our British ppl finally decide to drive at the right site of the road...
Hm...endless road.. What about SQL .. Is that a standard query language?
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
May 27, 2013, 06:46 PM
Waz
Agreed.
Except for driving on the right.
Left is better, how else will you have sword fights with other drivers ?
And you may have the Euro, but I think we need the Ozo.....
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
May 28, 2013, 08:47 AM
Tony A
quote:
but I think we need the Ozo
I'd prefer the Ouzo
Sword fights? Yes, I'll give you that one (why else would ancient spiral staircases decend anti-clockwise?) but not lances!
Frank, we do drive on the "right" side of the road as opposed to the wrong one
T
May 28, 2013, 11:59 AM
George Patton
And what about those times you take a business trip through several countries and accumulate a bunch of receipts that you then have to submit in an organised manner to your company. It drives me nuts to figure out the dates - specially since I procrastinate for months in filling out the expense report ...
At least the banks in Canada have come to their senses and now force people to write the date on their cheques in SI format. (But then who uses cheques nowadays ...?)