Need Help: Modified date format

Hi there,

Does anyone know how I can show the “Last modified date” of an item from the database in the following format:

  • a few seconds ago
  • 10 minutes ago
  • 2 hours ago
  • 3 days ago
    etc

Many thanks for the help.

1 Like

Hi !

You can achieve it with a text element and conditionals.

So you will refer to a date on each condition, and the text will change depending of it.

Will be something like this:

If you need a quicker solution (but not native) you can use this plugin:

Hope it helps :smiley:

Juan

1 Like

Thanks @juancamilovasquezard , this was very helpful. :slight_smile:

1 Like

You’re Welcome !