Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member


I have to display a field with dates such as 06/05/1851, 07/07/1891 and things like that.  I tried to workaround this by using CreateDate() but the data displayed is 01/01/1970.  Do you know how I can display the right date in Sisense?


Context: Data is pulled from Dynamics365 Online through a CData Connector into Sisense.  Dates are stored as  EPOCH Unix dates.  Therefore, dates prior 01/01/1970 are read as 0.

  • First Step.  Cast the date attribute as VARCHAR when loading the entity.  See the example below:


  • Second step.  Once in the ElastiCube Manager you must extract year, month and date and convert them into integer numbers.  Then, use the function CreateDate() to create the new date.  I used David Hogeg's approach to create the date.  Nonetheless, the approach was adapted to get year, month, day from different places in the string (Hogeg's assumes a YYYYMMDD format, while VARCHAR format is YYYY-MM-DDT....).  See the image below:
Version history
Last update:
‎11-10-2023 12:55 PM
Updated by:
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: