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.

Convert datetime.datetime object to days since epoch in Python

I've got a pandas.Series object that might look like this: import pandas as pd myVar = pd.Series(["VLADIVOSTOK 690090", "MAHE", …

python pandas datetime date-formatting epoch
subtracting two days from current date in epoch milliseconds java

I am trying to do something really simple. I am trying to subtract 2 days from the current day. I get …

java date epoch milliseconds subtraction
How to convert NTP time to Unix Epoch time in C language (Linux)

I have been trying for several months to create a simple SNTP single Client/Server based on RFC5905. Finally I …

c linux epoch ntp
Convert an ISO date to seconds since epoch in linux bash

I have a date in the ISO format YYYY-MM-DDTHH:SS (e.g. 2014-02-14T12:30). I'd like to convert it …

linux bash date timezone epoch
Localizing Epoch Time with pytz in Python

Im working on converting epoch timestamps to dates in different timezones with pytz. What I am trying to do is …

python datetime timezone epoch pytz
How do I get current time in milliseconds in Loadrunner?

I am looking for the equivalent of Java's System.currentTimeMillis() in Loadrunner. I could only find lr_save_datetime("%x%…

time epoch loadrunner
Calculating Future Epoch Time in C#

I was able to find example code to get the current timestamp in Linux Epoch (Seconds since Midnight Jan 1st 1970), …

c# time epoch
DB2 timestampdiff function returning unexpected results

I'm using the following syntax TIMESTAMPDIFF(2, CHAR(CREATED - TIMESTAMP('1970-01-01 00:00:00')) where CREATED is of type TIMESTAMP …

datetime timestamp db2 epoch datetime-conversion
python convert datetime formatted string to seconds

I am trying to decode a date string to epoch but I have difficulties getting the timezone. This is the …

python datetime epoch strptime
How to remove Hour, Minute, and Second from Epoch timestamp

I need to write a function that accepts a java.util.Date and removes the hours, minutes, and milliseconds from …

java date epoch milliseconds