Good morning, how can I get the bot time? Because I made a validation to bring me the good morning, good afternoon and good night according to the time but with the getHours it only brings me another hour. How could I get the exact time of the bot, when a user logs in?
Kore provides a pre-written JavaScript functions library that can be leverages to format the date/ time capture when user connects to the bot.
https://developer.kore.ai/docs/bots/advanced-topics/koreutil-libraries/
Let us know if this helps the usecase.
1 Like