Top "Timestamp" questions

A timestamp is the time at which an event is recorded by a computer system.

java.sql.Timestamp way of storing NanoSeconds

java.sql.Timestamp constructor go like this: public Timestamp(long time) { super((time/1000)*1000); nanos = (int)((time%1000) * 1000000); if (nanos < 0) { nanos = 1000000000 + …

java jdbc timestamp nanotime
SQL Query to Join Two Tables Based Off Closest Timestamp

I have two tables in SQL and I need to be able to do a join based off of the …

sql timestamp left-join
PL SQL - Convert timestamp to datetime/date

select to_timestamp(SCHEDULED_TIME,'YYYY-MM-DD HH24:MI:SS.FF') as SCHEDULED_TIME, TRUNC(to_date(to_timestamp(SCHEDULED_TIME,…

sql oracle plsql timestamp date-conversion
log4j vs. System.out.println - logger advantages?

I'm using log4j for the first time in a project. A fellow programmer told me that using System.out.…

java logging junit timestamp logfiles
How can I find last modified timestamp for a table in Hive?

I'm trying to fetch last modified timestamp of a table in Hive.

hive timestamp last-modified
MySQL Incorrect DateTime Value for Date older than 1980

While, trying to import a .sql file into my database, I am getting the following error for one of the …

mysql timestamp mysqlimport
Ruby/Rails - How to convert seconds to time?

I need to perform the following conversion: 0 -> 12.00AM 1800 -> 12.30AM 3600 -> 01.00AM ... 82800 -> 11.00PM 84600 -&…

ruby-on-rails ruby time timestamp seconds
Pyspark: Difference between two Dates (Cast TimestampType, Datediff)

There is a table with incidents and a specific timestamp. I struggle to calculate the number of days passed using …

timestamp pyspark datediff
How do you get a timestamp in Arduino-ESP8266?

I would like to get a timestamp with Arduino-ESP8266. But I don't have any idea how to get that. I …

timestamp esp8266 ntp arduino-esp8266
Postgresql Create Table Fieldname Timestamp with Time Zone UTC

What is the syntax for creating a table with a field with the UTC time zone? I have for the …

postgresql timestamp create-table