In Drupal 8, there is a "member for" in the profile page to show that how long time since this user be a member until now.
I would like to list all the user's "member for" via Views. However there is no such variable in the Views FIELDS.
I was thinking create a user field called "member since" and then every day get the "member for" value (which in the profile already) everyday, and display this "member since" field via Views. However:
- I don't know how to get the value of existed "member for" variable in Drupal 8 for created user field "member since". (of course I can calculate it by myself, but I don't want to deal the timestamp, formation etc)
- I don't know how to run this function to get the value of existed "member for" variable one time everyday.
Or is there a better way to do it (Note I need to use Views to display it)?
Thanks!