Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 455 Bytes

function.displayDate.md

File metadata and controls

20 lines (12 loc) · 455 Bytes

Function displayDate

Display SQL date in friendly format

mixed displayDate(string $sqlDate, boolean $withTime)

Arguments

  • $sqlDate string - Date in SQL format (YYYY-MM-DD HH:mm:ss)
  • $withTime boolean - Display both date and time