Moeen Chat Service - v1.0.0
    Preparing search index...
    • Formats a timestamp into a human-readable date and time string.

      Parameters

      • timestamp: Date = ...

        The timestamp to format. Defaults to the current date and time.

      Returns string

      A formatted string representing the date and time.

      datetimeFormat(new Date('2025-01-01T00:00:00Z')) // 'January 1, 2025 at 12:00 AM'
      datetimeFormat() // 'January 1, 2025 at 12:00 AM'