COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: Veekaygee on 04 Mar 2008 08:37:58 PM

Title: Unix format dates
Post by: Veekaygee on 04 Mar 2008 08:37:58 PM
Does any body know how I can convert Unix format dates ( no of seconds from 1/1/1970) to a date time format in Framework manager so I can use it in my reports?
Title: Re: Unix format dates
Post by: istein on 13 Mar 2008 06:45:07 AM
This function will do the trick

cast(DATEADD({s}, [SOURCE].[tableName].[FieldName] , '19700101'), date)