YouTube video

Creating a field with the “date” and “date-time” types

Creating in settings

  • Go to the profile settings — “Custom Fields”.
  • Click the Add New Field button.
  • Enter the name of the field.
  • Select the field type “date”or “date – time”.

🚩 Once created, you can’t change the field type or delete it. You can hide it by archiving the fields.

Creating a field in the flow editor

In the “Action” block, in the “Custom Fields” list, you can create a field of any type.

Date and time format

The date is written in the format dd. mm. yyyy. For example, 27.01.2023.

Date-time is written in the format dd. mm. yyyy hh:mm. For example, 27.01.2023 12:58.

The time in the fields is based on the time zone of the profile.

The fields work with all BotHelp integrations.

 

Setting values in the “date” and “date-time” fields

In the “Action” block, you can set the current date value for the field, enter the value of another field, or specify the date manually.

Meeting the conditions

It works in the “Condition” block. You can compare the field value with the current date or with the date and time.

Increasing and decreasing the “date” and “date-time” fields

In the “Actions with fields and variables” block, you can increase or decrease the value of a field of the “date” and “date-time” types.

Minutes are added to the variable first, then hours, days, and months.

Months are added to the date according to the standard for working with dates. In BotHelp, months are added in the same way as in Excel. If you add a month to a date at the end of January, the new date will fall as early as March, because there are no February 30 and 31.

Here’s how adding one month affects a date at the end of January:

Recording the date in the “Question” block

If you need to find out the checking-in date or date of birth, you can do this in the”Question” block. 

You can add options in the form of buttons or accept a text response.

For a field of the “date” type, mandatory validation works, which only accepts the response in the form of a date.

_________________________________

If you haven’t found the answer to your question, contact us in the chat in your profile or email [email protected] 😃

Get 14 days of full functionality of BotHelp, a platform for creating broadcasting, autofunnels, and chatbots.

Get 14 days for free

Была ли статья полезна?

Спасибо за обратную связь!