79645027

Date: 2025-05-30 07:07:42
Score: 1
Natty:
Report link

why would it not return this result?

01/04/2025 is april 1st 2024 (given format 103 being dd/mm/yyyy) and 12pm is midnight, aka 00:00 (which is the result you get from converting a date to datetime)

if you're asking specifically about the format itself (why am/pm instead of 00:00) a quick glance at sql server documentation points to SET LANGUAGE and SET DATEFORMAT having an effect on this

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): why would it not
  • Low reputation (0.5):
Posted by: Kenzo Staelens