Jump to content

Recommended Posts

Posted

Can someone please correct me here. Why does this....

 DATE_FORMAT(h_fixby, '%d/%m/%Y @ %h:%m') AS "Fix Target"

Result in these incorrect times? (dates are correct).

image.png.201855dad99836c9cb0a3bd11c10672f.png

 

Thank you and have a splendid day.

Posted

Got it! Capital H

DATE_FORMAT(h_fixby, '%d/%m/%Y @ %H:%i') AS "Fix Target"

DATE_FORMAT(h_fixby, '%d/%m/%Y @ %H:%i') AS "Fix Target"

image.png.79132630d71fbb666090d59564c920cb.png

Posted

Cheers @SamS, I had a look around the net; there was so many different SQL variations, I wasn't sure where to go. So lots of trial and error involved; thanks for the resources, I'll bookmark them.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...