Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

MaksimP

@MaksimP
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to group by hour properly. [modified]
    M MaksimP

    select count(PK) Count, DatePart(hh,ColumnTime) Hour from dbTable group by DatePart(hh,dbColumnTime)

    The Weird and The Wonderful database tutorial

  • How to get today's date
    M MaksimP

    // Try this: DateTime now   = DateTime.Now; DateTime date = new DateTime(now.Year, now.Month, now.Day);

    The Weird and The Wonderful csharp ruby tutorial

  • Get the date from SQL Server
    M MaksimP

    You can do it sql by using 'DatePart(ms,<dbColumnTime>)' function

    The Weird and The Wonderful database sql-server sysadmin workspace

  • Get the date from SQL Server
    M MaksimP

    --You can use 'set' instead of 'select' declare @t as DateTime set @t = getUtcDate() -- Testing-- print @t print DatePart(hh,@t) print DatePart(mm,@t) print DatePart(ss,@t) print DatePart(ms,@t)

    The Weird and The Wonderful database sql-server sysadmin workspace
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups