Forums

Table list detail

Pkoll 22 Apr, 2020
Hallo,
I have a table list with a field containing a date field. this field has to change in real date time but I don't know how.
I tried with "strtotime"in custom php field. but it does not work.
Any idee how to solve this?

Paul Kollau
Max_admin 22 Apr, 2020
You may try the {date:} shortcode, I do not know how do you display the date now
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pkoll 22 Apr, 2020
Hi Max,
With {date:} every list item has the current date. What is want is that a field filled from the database record change it in a real date.

With the {date:} in the table list I get


What is the code to achieve that???

Greatings
Paul
Pkoll 24 Apr, 2020
Answer
1 Likes
Hi Max,
I found the solution.
In the read_date define the field you need. For the date field I use FROM_UNIXTIME(`unsubdate`).

So the field is changed in a date field that I use in the table list.

Greetings
Paul
This topic is locked and no more replies can be posted.