Top "Timestamp" questions

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

How do you get a timestamp in JavaScript?

How can I get a timestamp in JavaScript? Something similar to Unix timestamp, that is, a single number that represents …

javascript date datetime timestamp unix-timestamp
NOW() function in PHP

Is there a PHP function that returns the date and time in the same format as the MySQL function NOW()? …

php datetime time timestamp
Should I use the datetime or timestamp data type in MySQL?

Would you recommend using a datetime or a timestamp field, and why (using MySQL)? I'm working with PHP on the …

mysql datetime timestamp sqldatatypes
How to convert date to timestamp in PHP?

How do I get timestamp from e.g. 22-09-2008?

php date timestamp
How to convert SQL Server's timestamp column to datetime format

As SQL Server returns timestamp like 'Nov 14 2011 03:12:12:947PM', is there some easy way to convert string to date format like …

sql-server datetime timestamp
Create timestamp variable in bash script

I am trying to create a timestamp variable in a shell script to make the logging a little easier. I …

bash variables timestamp
How to parse/format dates with LocalDateTime? (Java 8)

Java 8 added a new java.time API for working with dates and times (JSR 310). I have date and time as …

java datetime java-8 timestamp java-time
How to get current timestamp in string format in Java? "yyyy.MM.dd.HH.mm.ss"

How to get timestamp in string format in Java? "yyyy.MM.dd.HH.mm.ss" String timeStamp = new SimpleDateFormat("yyyy.…

java date datetime timestamp
Extract date (yyyy/mm/dd) from a timestamp in PostgreSQL

I want to extract just the date part from a timestamp in PostgreSQL. I need it to be a postgresql …

sql postgresql casting timestamp
How to get the unix timestamp in C#

I have had look around stackoverflow, and even looked at some of the suggested questions and none seem to answer, …

c# timestamp unix-timestamp