14 public function formatDate(
string $date, $dateFormat = null) : string
16 if (null === $dateFormat) {
36 public function formatDateTime(
string $dateTime, $dateFormat = null) : string
38 if (null === $dateFormat) {
static setUseRelativeDates($a_status)
set use relative dates
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
static useRelativeDates()
check if relative dates are used
formatDate(string $date, $dateFormat=null)
formatDateTime(string $dateTime, $dateFormat=null)