你知道机器人自由还提供了免费举办 论坛 为自己的网站或移动应用程序?
Bot Libre Forum : chatbot is not saying the correct time

RE: chatbot is not saying the correct time

通过 admin 发布 Jul 3 2018, 11:09

The local is not the timezone, it just affects how the date is printed.

To set the timezone of the date use the "timezone" attribute set to the GMT hour offset.

<date format="%I: %p" timezone="+2" locale="en_US"/>

You can also use Self to print a date, even from AIML,

<template>The local time is: <self>Date.setTimeZone(Date.time(), "EST")</self></template>


Id: 22680861
发布: Jul 3 2018, 11:09
答复: 0
的风景: 1918, 今天: 1, 周: 7, 一个月: 10
0 0 0.0/5