SAP Knowledge Base Article - Public

3617857 - "TO_DATE" function does not support timestamp or datetime as parameter in SAP Analytics Cloud (SAC)

Symptom

  • Starting from SAC QRC2 2025 (wave version 2025.08), the SAC Story Calculation now supports the TO_DATE function.

  • While the TO_DATE function was already supported in SuccessFactors, there is a key difference in how it is used. In SuccessFactors, the first argument for the TO_DATE function can be a string, datetime, or timestamp, as mentioned in the Hint List. However, in SAC Story Calculations, only a string is accepted as the first argument.

  • Please note that the SAC Calculation Editor Hint List has not yet been updated to reflect this difference. As a result, the Hint List for SAC Story Calculation and SuccessFactors currently appears the same.

Environment

  • SAP Analytics Cloud (Enterprise)
  • SAP SuccessFactors People Analytics

Cause

The TO_DATE function in Story Calculations is currently limited to accepting strings as input due to existing design limitation.

Resolution

For SAC story calculations, the later versions of SAC wave 2025.09 will have modified version of Hint List.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

sac, calc, calculation, to, date, TODATE, todate, function, time, stamp, datetime, string, parameter, variable, expression, formula,  , KBA , LOD-ANA-DES-CAL , SAC Story Calculations , LOD-ANA-DES , Story Design & Visualizations , Problem

Product

SAP Analytics Cloud 1.0