Focal Point
[SOLVED] Convert Date/Time to Date only

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

September 21, 2010, 12:35 PM
benji
[SOLVED] Convert Date/Time to Date only
I have a field called HDCHGDT that is in HYYMDm format. I want to convert it to YYMD format. I'd like it to be a new define field called CHGDT. What would the formula need to be in the Define Field section?

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.4
Windows XP
.txt, Excel, etc.
September 21, 2010, 12:45 PM
Francis Mariani
Have you tried looking at the documentation?

Using Functions > Date and Time Functions > HDATE: Converting the Date Portion of a Date-Time Value to a Date Format


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
September 21, 2010, 01:12 PM
benji
quote:
Have you tried looking at the documentation?


No. I tend to avoid eye contact with documentation. As a child, my mother was killed by a documentation street gang and I have never recovered. Thanks for bringing up this painful memory.

Also, thanks for pointing out the correct function.


WebFOCUS 7.6.4
Windows XP
.txt, Excel, etc.
September 21, 2010, 01:22 PM
Francis Mariani
Well, I'll be throwing that book at you every chance I get.

Good luck.


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
September 21, 2010, 04:18 PM
Doug
Really now benji ,

Gotta RTFM, Read The FOCUS Manuals, or whatever other manuals you'd like to throw in there...

Doug




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
September 21, 2010, 05:42 PM
Waz



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!

September 21, 2010, 06:02 PM
benji
quote:
Gotta RTFM

Thank you for your not-at-all belated post. Very useful! One day I aspire to be as friendly and welcoming to new users as you.


WebFOCUS 7.6.4
Windows XP
.txt, Excel, etc.
September 22, 2010, 11:06 AM
ira
Benji, welcome aboard. A suggestion for you. Check into the (well worth) $25 purchase of the "(Almost)1001 Ways to Work With DATES in WebFOCUS." book. Many of us have found it well worth the investment. Good Luck. Ira.


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0