Skip to content

Interface: GetTimestampProps

Defined in: src/utils/getTimestamp.ts:4

Options for generating a timestamp string.

Properties

PropertyTypeDescriptionDefined in
date?DateThe date to format. Defaults to the current date.src/utils/getTimestamp.ts:6
separator?stringThe character used to separate date parts. Defaults to '-'.src/utils/getTimestamp.ts:8
includeYear?booleanInclude the year. Defaults to true.src/utils/getTimestamp.ts:10
includeMonth?booleanInclude the month. Defaults to true.src/utils/getTimestamp.ts:12
includeDay?booleanInclude the day. Defaults to true.src/utils/getTimestamp.ts:14
includeHours?booleanInclude the hours. Defaults to true.src/utils/getTimestamp.ts:16
includeMinutes?booleanInclude the minutes. Defaults to true.src/utils/getTimestamp.ts:18
includeSeconds?booleanInclude the seconds. Defaults to true.src/utils/getTimestamp.ts:20

Matterway Assistant SDK Documentation