Top "Unix-timestamp" questions

The number of seconds between a particular date and the Unix Epoch on January 1st, 1970

python get time stamp on file in mm/dd/yyyy format

I'm trying to get the datestamp on the file in mm/dd/yyyy format time.ctime(os.path.getmtime(file)) …

python date unix-timestamp
Convert std::chrono::time_point to unix timestamp

How can I get an std::chrono::duration since a fixed date? I need this to convert a std::chrono::…

c++ c++11 unix-timestamp chrono
Joda DateTime to Unix DateTime

It's odd enough, but I didn't find any result about converting Joda(Time) DateTime to Unix DateTime (or timestamp, whichever …

java jodatime unix-timestamp
How to convert date string to timestamp in Kotlin?

I want to convert a date string to unix timestamp from a date string e.g. 14-02-2018 Can someone …

date kotlin timestamp unix-timestamp
Ruby: convert unix timestamp to date

irb> dt = Time.now.utc => 2012-04-26 10:47:01 UTC irb> dti = dt.to_i => 1335437221 Now, how to …

ruby datetime unix-timestamp
django Datefield to Unix timestamp

In a model I have a such field: mydate = models.DateField() now a javascript graph function requires unix timestamp such …

python django unix-timestamp
How do I get a unix timestamp from PHP date time?

I'm trying to get a unix timestamp with PHP but it doesn't seem to be working. Here is the format …

php unix-timestamp
Ticks between Unix epoch and GPS epoch

What is the number of one second ticks between Unix time epoch (01 Jan 1970) and GPS time epoch (06 Jan 1980)? I have …

time gps unix-timestamp utc
How to round unix timestamp up and down to nearest half hour?

Ok so I am working on a calendar application within my CRM system and I need to find the upper …

php datetime unix-timestamp
How do I deserialize timestamps that are in seconds with Jackson?

I've got some JSON that has timestamps in seconds (i.e. a Unix timestamp): {"foo":"bar","timestamp":1386280997} Asking Jackson to …

java json timestamp jackson unix-timestamp