Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 30th November 2020 20:35 Europe/London time based on the source file dated 30th November 2020 09:45 Europe/London time.