BP_Media_Model::time_to_date( $time )
Convert time to date format
Description
Parameters
- $time
-
(Required)
Return
(false|string)
Source
File: bp-media/classes/class-bp-media-model.php
static function time_to_date( $time ) { return gmdate( 'Y-m-d H:i:s', $time ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.