Skip to content
Advertisement

SQL datetime needs to read 00:00:00.000

I have the following piece of SQL:

which comes through as this format:

I need the exact piece of code with the date the same, however the time part must read 00:00:00.000

Modify* I should have been clear here: I need to have the last day of previous month at any given time (with the time in 00:00:00.000 format of course)

Advertisement

Answer

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement