Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

nicedate()

Description

Formats a MySQL ISO date

Always use the 'wordy' style from now on as this works better internationally.


@var string $date
@var boolean $time
@var boolean $wordy
@var boolean $offset_tz Set to TRUE to offset based on time zone, FALSE otherwise

Parameters

ColumnTypeDefaultDescription
$date
$time false
$wordy true
$offset_tz false

Return

string Returns an empty string if date not set/invalid

This article was last updated 10th July 2020 20:35 Europe/London time based on the source file dated 9th July 2020 12:41 Europe/London time.