JDate::toISO8601
Gets the date as an ISO 8601 string. IETF RFC 3339 defines the ISO 8601 format and it can be found at the IETF Web site.
Signature
public function toISO8601([boolean
$local = false] )
Parameters
-
$local
- True to return the date string in the local time zone, false to return it in GMT.
Returns
- string
- The date string in ISO 8601 format.