About 50,000 results
Open links in new tab
  1. Convert datetime to bigint – SQLServerCentral Forums

    Dec 3, 2014 · The original poster's code creates a human-readable date/time in a bigint format. For example, if you run the poster's code you'll get a value like 20141222133915, which you …

  2. Convert UNIX Timestamps to DATE/TIMEs in SQL Server - Part#1

    Mar 10, 2011 · Learn how to easily convert UNIX Timestamps to Date/Times and vice versa in SQL Server and the simple math behind it all. (Jeff Moden)

  3. Convert Bigint time to datetime – SQLServerCentral Forums

    Apr 17, 2014 · Convert Bigint time to datetime Forum – Learn more on SQLServerCentral

  4. Combine DATE and TIME to DATETIME2 in SQL Server

    Mar 10, 2011 · We won’t go into how DATETIME2 is stored if you convert it to binary but this properly creates and concatenates the binary versions of TIME and DATE to produce a …

  5. convert char to datetime – SQLServerCentral Forums

    Jul 13, 2004 · If the point is to enter the char data into a datatime column in the database, you don't need to convert the value to a datetime (assuming it's a valid date), since the conversion …

  6. Convert DATETIME to a date in ISO format - SQLServerCentral

    Apr 25, 2019 · Home Forums SQL Server 2016 SQL Server 2016 - Development and T-SQL Convert DATETIME to a date in ISO format Post reply

  7. Dealing with custom date formats in T-SQL - SQLServerCentral

    Nov 15, 2010 · As an evidence that converting from string to date and back is not an heretic crime, T-SQL comes with the built-in CONVERT function, which can handle the most common …

  8. Convert Date to Julian Date – SQLServerCentral Forums

    Nov 27, 2017 · Adding this value to the decimal representation of a SQL datetime gives the Julian date. The SQLServer datetime should be translated to UTC before decimal conversion.

  9. CONVERT DATETIME to TIME and remove seconds and milliseconds

    Sep 22, 2016 · Home Forums SQL Server 2014 Development - SQL Server 2014 CONVERT DATETIME to TIME and remove seconds and milliseconds Post reply

  10. Convert DATETIME, trim leading zeros - SQLServerCentral

    Jan 1, 2012 · Convert DATETIME, trim leading zeros Forum – Learn more on SQLServerCentral