Upgrade to our commercial service Bot Libre for Business for only $4.99 per month
Self, AIML, and scripting : date and time script

RE: date and time script

by Paphus posted Sep 21 2016, 9:01

The AIML spec only defines the format option for the date tag. The locale and timezone options are PandoraBot extensions.

I will look into adding support for them to our AIML support.

You can also use Self code inside AIML.

<template>{Date.setTimeZone(Date.time(), "CET")}</template>


Id: 14039793
Tags: aiml, dates
Posted: Sep 21 2016, 9:01
Updated: Sep 21 2016, 9:02
Replies: 0
Views: 2781, today: 3, week: 3, month: 9
0 0 0.0/5