Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: convert from MM/DD/YYYY to YYYYMMDD

    DECLARE @dtDate datetime

    SET @dtDate = getdate() - FLOOR( CAST( getdate() AS float ))

    SELECT

    @dtDate AS [YYYY-MM-DD HH:MM:SS.SSS]

    , CAST( FLOOR( CAST( @dtDate AS float...

Viewing post 1 (of 1 total)