Date

Please note: This page is under construction and has not been finished yet.

Introduction

$gen = e107::getDate();

Date methods

computeLapse()

Calculate difference between two dates for display in terms of years/months/weeks....

$gen->computeLapse($older_date, $newer_date = FALSE, $mode = FALSE, $show_secs = TRUE, $format = 'long') 

convert_date()

Convert datestamp to human readable date. System time offset is considered.

$gen->convert_date($datestamp, $mask = '')

terms()

Return an array of language terms representing months

$gen->terms($type='month')

Last updated