About 50 results
Open links in new tab
  1. How to convert SQL Server's timestamp column to datetime format

    Nov 14, 2011 · So you cannot convert a SQL Server TIMESTAMP to a date/time - it's just not a date/time. But if you're saying timestamp but really you mean a DATETIME column - then you can …

  2. How can I convert bigint (UNIX timestamp) to datetime in SQL Server?

    8 Adding n seconds to 1970-01-01 will give you a UTC date because n – the Unix timestamp – is the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, …

  3. Convert timestamp to date in Oracle SQL - Stack Overflow

    May 13, 2016 · How can we convert timestamp to date? The table has a field, start_ts which is of the timestamp format: '05/13/2016 4:58:11.123456 PM' I need to query the table and find the maximum …

  4. sql - TO_TIMESTAMP FUNCTION - Stack Overflow

    Feb 23, 2023 · A TIMESTAMP is a binary data type consisting of 7-20 bytes (representing one byte for each of century, year-of-century, month, day, hour, minute and second then, optionally, up to 6 bytes …

  5. sql server - How to convert TIMESTAMP values to VARCHAR in T-SQL …

    I am trying to convert a TIMESTAMP field in a table to a string so that it can be printed or executed as part of dynamic SQL. SSMS is able to do it, so there must be a built-in method to do it. How...

  6. sql - Conversion failed when converting date and/or time from …

    Jan 2, 2013 · Alternatively: if you're on SQL Server 2008 or newer, you could also use the DATETIME2 datatype (instead of plain DATETIME) and your current INSERT would just work without any …

  7. sql - Timestamp string conversion / from_utc_timestamp - Stack Overflow

    Dec 19, 2021 · Hive timestamps are timezoneless. Once you converted from UTC to America/NY, the timezone information is lost, only you know in which timezone it is, having timestamp converted it is …

  8. Timestamp conversion to EPOCH time in Oracle SQL

    Mar 22, 2022 · Timestamp conversion to EPOCH time in Oracle SQL Ask Question Asked 3 years, 11 months ago Modified 3 years, 11 months ago

  9. Convert LocalDate to LocalDateTime or java.sql.Timestamp

    Timestamp ts = Timestamp.valueOf(ldt.toString(dtf)); So, if I can just convert between LocalDate and LocalDateTime, then I can make the continued conversion to java.sql.Timestamp.

  10. Timestamp conversion in postgres SQL - Stack Overflow

    Jun 14, 2022 · Timestamp conversion in postgres SQL Ask Question Asked 3 years, 9 months ago Modified 3 years, 9 months ago