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

Converting Year and Month (both Number in Type) into Date

Started by nanzmercado, 01 Dec 2010 02:56:04 AM

Previous topic - Next topic

nanzmercado

Hi,

kindly help me on this one:

I have a columns in the table named Year and Month, but i need to convert it to Date. the Day value will always be the first day of the month.

ex.
Year = 2010
Month = 12
Then Date would be equal to 12/1/2010

What function must i use?

Thanks

nanzmercado

I already got it guys.. yahooooooooo hehe :))

datetime-to-date(make-datetime(Year, Month, 01))