Atualize para nosso Platinum serviço e deixar-nos a construir o seu bot para você
Self, AIML, and scripting : date and time script

RE: date and time script

por admin postado Sep 9 2016, 7:51

You can change the Watch script, or create your own to change the timezone for the current time.

For example,
Template("The time in Rome is {Date.setTimeZone(Date.time(), "CET")}.")

When you ask "what is the time in *", to change the timezone you need to give a valid timezone name or code. Otherwise it will answer the GMT time.

For example,
"what is the time in CET?"

Would be for Rome.


Id: 13959867
Postado: Sep 9 2016, 7:51
Respostas: 0
Pontos de vista: 1922, hoje: 1, semana: 5, mês: 15
0 0 0.0/5