P
P
Pavel Sidorov2020-07-08 17:40:21
1C-Bitrix
Pavel Sidorov, 2020-07-08 17:40:21

How to display only the time of creation in Bitrix?

Hello
, how can I display only the time when the news was created? I'm getting the date like this.

<?=strtolower(FormatDate("d F", MakeTimeStamp($arItem['PROPERTIES']['DATA']['VALUE']))) ?>

I need to get close. In 14:02 format

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2020-07-08
@pavel__sidorov

<?=strtolower(FormatDate("H:i", MakeTimeStamp($arItem['PROPERTIES']['DATA']['VALUE']))) ?>

A
Alexey Emelyanov, 2020-07-08
@babarun

https://dev.1c-bitrix.ru/api_help/main/functions/d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question