cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the current date in SAP CAI ?

0 Kudos
417

Can anyone please tell me how to get the current date or today's date in sap conversational ai

ama_touzani13
Participant
0 Kudos

Hello Victor ,

Did you Check the entity DATETIME ?.

Regards.

0 Kudos

Entity datetime can store the date but how can we get the current date in from CAI ?

Accepted Solutions (0)

Answers (1)

Answers (1)

ama_touzani13
Participant
0 Kudos

Hello Victor ,

It is in datetime entity :).

You can fill the trigger in your build skill and a message in your action as in the screen shots.

The date is returned by : {{nlp.entities.datetime[0].formatted}}".

For more info on datetime entity , please check this link : https://cai.tools.sap/docs/concepts/gold-entities#datetime

Regards.