formatDateTime()

The formatDateTime() function formats the given date object and returns the date string as yyyy-MM-dd HH:mm:ss.

Method Name and Parameter List

  • formatDateTime( Date date)

  • Returns String