How to display month in words in Bitrix24?

How to bring in Bitrix24 current month? Using {=Document:DATE_CREATE}?
June 9th 19 at 02:27
1 answer
June 9th 19 at 02:29
This is a very gemorroyno.

Let's say the date format we like: d.m.Y H:i:s (which is in Russian: 22.01.2018 18:07:20)

Comes to mind the following design:

1) Declare a variable monthNumber (which will contain the number of the month)
2) Declare a variable monthName (which will contain month-to-read)

Create a unit variable and record the value in the monthNumber{{=substr({=System:Now},3,2)}}
Which would mean: from the current time ({=System:Now}), starting with 3 characters (the third character - point) we'll take 2.
Then monthNumber is the number: 01.

Next, put the condition and 12 times repeat. If monthNumber=1 then unit change of the variable monthName in January (so 12 times).

Find more questions by tags 1C-Bitrix24