BP_Media_Model::date_to_time( $date )
Convert date to time
Description
Parameters
- $date
-
(Required)
Return
(false|int)
Source
File: bp-media/classes/class-bp-media-model.php
static function date_to_time( $date ) {
return strtotime( $date . ' GMT' );
}
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.