Using Date Entity for past dates

We have a scenario where we use DatePeriod as entity for transaction history, so we should assume that if the user did not specify the year, the bot should assume that it is a previous date.

How can we treat date entity as past dates when the user did not specify the year in the utterance? (e.g. Treat Jan 15 as Jan-15-2020 instead of Jan-15-2021)

Hi @pastapareo,

We have tried replicating the issue at our end.
We have created an entity node with “Dateperiod” type and observed that any past date given is considered with the current year.


Kindly check and let us know if you are still facing the issue. (Please send us the necessary screenshots to understand the issue),

Yoga Ramya.

Hi @yogaramya.mendu
Thanks for the quick reply.
Tried it in a sample project and it works as you said but it seems that it happens when a DatePeriod entity is after a List (enumerated) entity.

I created three samples:
[1] Only Date Period Entity – shows correct date

[2] Date Period Entity followed by Enumerated List Entity – shows correct date

[3] Enumerated List Entity followed by Date Period Entity – shows 2021

Hi @yogaramya.mendu

Can we follow up on this.

I tried placing the Date Period entity before any other entities on our project and it is not working correctly there. I think because there are other nodes before it. Is there an email address where I can send the screenshots?


Hi @pastapareo,

Are you using or have an on-premise set up?

If you are using the cloud ( Can you invite on your account from admin console? Then add the same as developer on the bot. Let us know your account name to access it.

Yoga Ramya


Sorry for the late reply. I’m using
I have invited . The account name is ALICE.

The problem happens in Transaction Enquiry dialog task.


Hi @pastapareo,

We are unable to replicate the issue in a sample bot at our end.
We will check the scenario in your shared bot and will let you know.

Yoga Ramya.

Thanks @yogaramya.mendu
Kindly let me know if you have accessed the bot or for any problems.