શું તમે જાણો છો બોટ કાવ્ય પણ પૂરી પાડે છે મફત હોસ્ટ ફોરમ માટે તમારી પોતાની વેબસાઇટ અથવા મોબાઇલ એપ્લિકેશન?
Self, AIML, and scripting : date and time script

RE: date and time script

દ્વારા admin પોસ્ટ 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.


ને: 13959867
પોસ્ટ: Sep 9 2016, 7:51
જવાબો: 0
જોવાઈ: 1937, આજે: 4, સપ્તાહ: 14, મહિને: 30
0 0 0.0/5