Focal Point
[CLOSED] convert date to display quater

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

April 02, 2010, 07:50 PM
JOE
[CLOSED] convert date to display quater
What's the best way to convert a date as yyy/dd/mm 00:00:00 to the quarter the date is in? Thanks for any assistance possible.

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


WebFocus 7.7.02 WinXP
April 02, 2010, 08:08 PM
jimster06
Hi Joe-

How about using the HPART function to extract the quarter?

ie DT_QTR/I2 = HPART(MY_DATE,'QUARTER','I2');


HTH


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K