Top "Timestamp" questions

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

MySQL: how to get the difference between two timestamps in seconds

Is there a way I can make a query in MySQL that will give me the difference between two timestamps …

mysql timestamp
Calculating time difference between 2 dates in minutes

I have a field of time Timestamp in my MySQL database which is mapped to a DATE datatype in my …

mysql sql timestamp
How do I convert dmesg timestamp to custom date format?

I am trying to understand the dmesg timestamp and find it hard to convert that to change it to java …

logging timestamp kernel dmesg
Best timestamp format for CSV/Excel?

I'm writing a CSV file. I need to write timestamps that are accurate at least to the second, and preferably …

excel formatting csv timestamp
best practice to generate random token for forgot password

I want to generate identifier for forgot password . I read i can do it by using timestamp with mt_rand(), …

php security random timestamp token
How to convert HH:mm:ss.SSS to milliseconds?

I have a String 00:01:30.500 which is equivalent to 90500 milliseconds. I tried using SimpleDateFormat which give milliseconds including current date. I …

java time timestamp simpledateformat
Timestamp with a millisecond precision: How to save them in MySQL

I have to develop a application using MySQL and I have to save values like "1412792828893" which represent a timestamp but …

mysql datetime timestamp milliseconds
Python UTC datetime object's ISO format doesn't include Z (Zulu or Zero offset)

Why python 2.7 doesn't include Z character (Zulu or zero offset) at the end of UTC datetime object's isoformat string unlike …

python python-2.7 datetime timestamp iso8601
Convert java.util.date default format to Timestamp in Java

The default format of java.util.date is something like this "Mon May 27 11:46:15 IST 2013". How can I convert this into …

java date time timestamp java.util.date
java.util.Date format SSSSSS: if not microseconds what are the last 3 digits?

Just tested this code on both my Windows (8) workstation and an AIX: public static void main(String[] args) { System.out.…

java date format timestamp