About:
Unix Time Conversion, This module allows site users to perform following conversions.
- Unix-timestamp to Date conversion
- Date to Unix-timestamp conversion
The time conversion happens with respect to standard epoch time of 01/01/1970 midnight.
We have ported the core logic of this module in to Drupal 8.
How it works:
This module provide two different ajax blocks from where conversions can be acheived for any reference date or unix-timestamp.
The ajax blocks are mentioned below.
- Unix Timestamp To Date: For unix timestamps to date conversion.
- Date To Unix Timestamp: For date to timestamp conversion.
Administration:
After enabling the module from "admin > modules > unix time conversion", Site admin must setup three things.
In Drupal 8 you can enable the module from "admin > Extend > unix time conversion".
- Enable the two blocks mentioned above from
Structure > Blockssection of your site. - Configure configuration page provided by module at
admin > config > regional & language > unix time conversion. - Give permission 'Configure unix time coversion' to trusted roles, users with this permission can access the configuration page provided by module
Dependencies:
None.
Information for developers:
- Block titles can be set as per your requirement by editing block.
- Block output can be themed by css as per your requirements.
- Block output is enclosed inside wrapper followed by an span.
- Timestamp to Date:
- Wrapper div id:
#unix_time_conversion_calculated_date - Span class:
.unix_time_conversion_output_date - Date to Timestamp:
- Wrapper div id:
#unix_time_conversion_calculated_timestamp - Span class:
.unix_time_conversion_output_timestamp
Maintainers
The Unix Time Conversion was originally developed by:
Kunal Kursija
Current maintainers:
Supporting organizations:
Ideas, Motivation, Time & Encouragement.
Community Contributions Time & Encouragement.
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Administration tools, Content editing experience, Developer tools
21 sites report using this module
- Created by kunalkursija on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.




