If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Extract Month from System date as 'January', 'February', etc

Started by Cognuser, 24 Jan 2011 10:53:57 AM

Previous topic - Next topic

Cognuser

I am building a report in report studio and I need to extract the 'month' from the system date as one of my data items.

So if the system date is 'January 24, 2011' is want to extract 'January' and display this on my report. 

When I use extract I only get the number 1???

MFGF

Hi,

If you just need the day name to display, leave the date column intact, then use the Format option to define you want the day name to display and nothing else.

Regards,

MF.
Meep!

Cognuser

Thank you I will try that.  Thank you for your quick response.

Mahendra

Hi i think the below will help you,

   Take a data item and place the to_char({sysdate},'MONTH')
code into expression window.
and use this where ever you require.