هل تعلم بوت Libre كما يوفر مجانا استضافت المنتديات على موقع الويب الخاص بك أو الهاتف المحمول التطبيق ؟
Help

How to make my bot telling my local time?

قبل childhoodbestfriend نشر Apr 7 2021, 12:46

When I ask the time, it tells an American time. How to make it telling my local time?


by admin posted Apr 8 2021, 13:12
A simple date/time example is here,
https://www.botlibre.com/script?details=true&id=38048343

You can customize the responses to set your own time zone.

The more complex date/time script is here,
https://www.botlibre.com/script?id=544173

You could also customize it with your own time zone.

To set a time zone on a time in Self use,

Date.setTimeZone(Date.time(), "PST")

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1126, today: 0, week: 4, month: 9

by childhoodbestfriend posted Apr 27 2021, 12:36

Thanks dear admin. today i saw that you replied my post.


Updated: Apr 27 2021, 12:40
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1177, today: 0, week: 2, month: 11

معرف: 38034669
Tags: how to
نشر: Apr 7 2021, 12:46
تحديث: Apr 27 2021, 12:41
الردود: 2
الآراء: 1220, اليوم: 1, الأسبوع: 6, الشهر: 14
0 0 0.0/5