Module Description
This module creates a Views field handler that enables you to output a formatted date given a field that produces a timestamp. It's intended for use with Views Database Connector or other modules that read from a database table not generated by an entity.
Instructions
After you enable this module: 1) Create/edit your view. 2) Add a field that outputs a timestamp, e.g. 1635444980 (Oct 28, 2021) 3) Add the "Global: Timestamp to Date Field" field created by this module 4) In Timestamp to Date Field's settings, select the field that outputs the timestamp 5) Adjust the display settings of your Timestamp to Date Field to format the date as you would like.
That's it!
Instructions
After you enable this module: 1) Create/edit your view. 2) Add a field that outputs a timestamp, e.g. 1635444980 (Oct 28, 2021) 3) Add the "Global: Timestamp to Date Field" field created by this module 4) In Timestamp to Date Field's settings, select the field that outputs the timestamp 5) Adjust the display settings of your Timestamp to Date Field to format the date as you would like.
That's it!
Module Link
Project Usage
141
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of outputting a formatted date from a timestamp field in Views, particularly when working with database tables not generated by an entity.
Data Name
views_timestamp_to_date