Host your own bot platform with the Bot Libre Enterprise Bot Platform
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: 1491, today: 2, week: 2, month: 24
I'm sure
Flag post as offensive, or in violation of site rules