CPG-Nuke source documentation ⇒ CPG Dragonfly™ CMS
Files - Classes
  includes/cmsinit.inc
includes
properties
functions
formatDateTime

void formatDateTime(mixed $time, string $format)

Converts the given string or integer to a nice formatted readable string based on the member his selected GMT zone

Arguments

  • $time

    a MySQL datetime formatted string (2004-09-22 22:12:50) or Unix Timestamp based GMT

  • $format

    a correct strftime() format, or use the defines: _DATESTRING, _DATESTRING2, _DATESTRING3