Top "Epoch" questions

Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds.

Converting UTC string to epoch time in javascript

How can I convert UTC date-time string (e.g. 2011-03-29 17:06:21 UTC) into Epoch (milliseconds) in javascript? If this is …

javascript datetime epoch
Convert Instant to microseconds from Epoch time

In Instant there are methods: toEpochMilli which converts this instant to the number of milliseconds from the epoch of 1970-01…

java datetime java-8 epoch java-time
Converting days since epoch to date

How can one convert a serial date number, representing the number of days since epoch (1970), to the corresponding date string? …

python date datetime epoch
Use Unix timestamp in Doctrine Timestampable

How do I use Unix timestamps with the Doctrine Timestampable behavior? I found the following code snippet here, but I'd …

php doctrine epoch unix-timestamp
Conversion from UNIX time to timestamp starting in January 1, 2000

I am trying to interact with an API that uses a timestamp that starts at a different time than UNIX …

python datetime unix timestamp epoch
Understanding Matlab Pattern Recognition Neural Network Plots

I was currently doing a project on Vehicle classification and it has almost finished now but I have several confusion …

matlab neural-network epoch confusion-matrix
How to convert timestamp string to epoch time?

I have time stamp in format 2017-18-08 11:45:30.345. I want to convert it to epoch time, so I am doing …

java timestamp epoch java-time datetime-parsing
How do I convert epoch time to normal time in Perl?

I am attempting to write a Perl script that parses a log where on each line the second value is …

perl epoch localtime
Convert UNIX time (INT) to timestamp in BigQuery

I have a column "date_time" in a BigQuery table which contains unix timestamp values like "1569888224". The problem is that …

google-bigquery unix-timestamp epoch datetime-conversion
Can strict JSON $dates be used in a MongoDB query?

I'm trying to write a date comparison query using MongoDB's strict JSON representation of BSON. I'd like it to work …

mongodb date bson epoch iso8601