bp_core_iso8601_date( $timestamp = '' )

Output an ISO-8601 date from a date string.

Description

Parameters

(Required) String of date to convert. Timezone should be UTC before using this.

Return

(string|null)

Source

File: bp-core/bp-core-functions.php

 function bp_core_iso8601_date( $timestamp = '' ) {
	echo bp_core_get_iso8601_date( $timestamp );
}

Changelog

Changelog
Version Description
BuddyPress 2.7.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.