DateFormatter Op

DateFormatter

String representation of a date


This Op takes a Date or Timestamp value and creates a String representation for that date. The formatting is done with moment.js.

https://momentjs.com/docs/#/displaying/

e.g.:

  • ddd YYYY-MM-DD HH:mm:ss
  • YYYY-MM-DD
  • HH:mm:ss

Full Name
  • Ops.Date.DateFormatter
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorCreated
githubMaintained by TeamCredits
  • Uses moment.js by OpenJS Foundation
    License: Public Domain

Dependencies
  • JS: moment.js



Example Patch Date Calc & Date Formatter Example

Sample patch for DateFormatter and DateCalc

Open In Editor

INPUT PORTS


Timestamp (Number)
Date (Object)
Format (String)

OUTPUT PORTS


StringDate (String)

Changelog

Patches using DateFormatter

  • Examples
  • Public
  • My Patches