About 695,000 results
Open links in new tab
  1. How can I convert bigint (UNIX timestamp) to datetime in SQL

    declare @UNIX_TIME int select @UNIX_TIME = 1111111111 -- Using dateadd to add seconds to 1970-01-01 select [Datetime from UNIX Time] = dateadd(!precision!,@UNIX_TIME,'1970-01 …

  2. How to Convert a Unix Timestamp to a Date/Time in SQL

    May 30, 2022 · In SQLite we can use the DATETIME() function with the unixepoch modifier: SELECT DATETIME(1793956207, 'unixepoch'); Result: 2026-11-06 09:10:07. From SQLite …

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

    Mar 10, 2011 · It's super easy to convert an "Old" INTeger based UNIX Timestamp back to a Date/Time. Just add the value (as seconds) of the "Old" type of UNIX Timestamp to the Epoch …

  4. UNIX_TIMESTAMP in SQL Server - Stack Overflow

    Dec 27, 2022 · Sql Server 2016 and later have a DATEDIFF_BIG function that can be used to get the milliseconds. Create a function. RETURNS BIGINT. RETURN …

  5. How to convert the UNIX TIME into SQL datetime format

    Feb 5, 2014 · In Mysql you can use from_unixtime() function to convert unix timestamp to Date: select COUNT(DISTINCT devices) AS "Devices" from measure_tab where measure_tab.time …

  6. SQL SERVER – Converting Unix TimeStamp to DateTime

    Oct 20, 2021 · There is a very easy method to convert Unix TimeStamp to DateTime. Let us learn that in today’s blog post. Here is a very simple example of it. Unix TimeStamp DECLARE …

  7. How to Convert a Unix Timestamp to a Date/Time Value in SQL

    Apr 20, 2022 · In SQL Server, we can use the following method to return a date and time based on a given Unix timestamp. The Unix timestamp (also known as Unix Epoch time, Unix time, …

  8. Convert Unix Timestamp in SQL Server (T-SQL) - dbblogger

    Jul 5, 2022 · The following query returns the timestamp by converting the Unix timestamp with the DATEADD function.

  9. Understanding UNIX Timestamps and Converting Them in SQL

    Nov 7, 2022 · Here’s a step-by-step process to convert “New” type UNIX Timestamps to DATETIME2 (3) in SQL Server: Calculate the number of milliseconds in a day using …

  10. Convert from unix timestamp to datetime in sql ssms v15

    May 4, 2022 · I want to convert unix timestamp from one of my table to normal date time format. Currently under Table, mainTable, i have dateTime column that contains this unix timestamp. …

  11. Some results have been removed
Refresh