Class DateTime

Methods summary

public string|false
# translate( string $field, array $arr = null )

Takes a "field" and grabs all the corresponding disparate fields from $_POST and translates into a timestamp

public
# datetime( string $prefix, string $value = null, boolean $includeActivation = false, boolean $calendarAutoStart = true )

Creates form fields and JavaScript calendar includes for a particular item

$dh->datetime('yourStartDate', '2008-07-12 3:00:00');
public
# date( string $field, string $value = null, boolean $calendarAutoStart = true, boolean $calendarAutoStart,… )

Creates form fields and JavaScript calendar includes for a particular item but includes only calendar controls (no time.)

$dh->date('yourStartDate', '2008-07-12 3:00:00');