Focal Point
[SOLVED] date format issue

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/896107155

October 14, 2010, 02:32 PM
RG
[SOLVED] date format issue
Hi,
How can I change '20020425' date format into 2002/04/25.

This message has been edited. Last edited by: Kerry,
October 14, 2010, 02:48 PM
Prarie
Hi welcome to the Forum. Use the Search at the top for 'Convert Date'. You should find many examples.
October 14, 2010, 02:51 PM
RG
Thanks Prarie


WebFocus 7.6.11
Windows XP
Excel
October 14, 2010, 03:45 PM
jimster06
Or EDIT using '9999/99/99' as the mask.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
October 14, 2010, 03:47 PM
FrankDutch
the answer depends on the original format of the date
is it number in the database
is it a string in the database
is it a date in the database




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

October 14, 2010, 04:10 PM
Waz
And to add to Franks list.

Is it a Dialog Manager variable. ( See jimster06's post)


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

October 15, 2010, 09:27 AM
Baillecl
Bonjour,
Always impressed when I see questions about Dates Format. A matter that was fixed by Focus well before 31/12/1999 (Except the Windowing of centuries with YRTHRESH or about that came for the big Millenium boom).
As to the Type of DM variables, it should not be confused with Focus Formats. DM variables are always characters, perhaps numeric characters, that you can calculate with, but characters nonetheless.
Sorry to have interrupted ...
Focusely and Cordially


Focus Mainframe 7.6.11
Dev Studio 7.6.11 and !!!
PC Focus, Focus for OS/2, FFW Six, MSO