I am trying to label points with hh:mm but the default for Q-GIS just lets me hh:mm:ss.sss, with a string of 5 useless digits. How can I truncate the last 5 digits?

1 Answer 1


You can use format_date(the_date_field,'hh:mm')

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.