Lexi E.
Lexi E.

Reputation: 11

How to extract hour and minute from a date field in AWS Quicksight

I am new to Quicksight and I am trying to extract the hour and minute from a date field. I've used extract function but would only return either hour or minute. Please help.

Upvotes: 1

Views: 2515

Answers (1)

Did You tried this as a kind of a hack?:

concat(toString(extract('HH',{YOURS_DATE_FIELD})),':',toString(extract('MI',{YOURS_DATE_FIELD})))

Upvotes: 2

Related Questions