unix-timestamp Questions

2

Solved

I created DB from google chrome's Cookies file and one of the columns in the cookies table is expires_utc. The format of the column is like - 13169399213145330, which is more like unix time. But wh...
Campaign asked 20/4, 2017 at 11:25

4

I have a time.Time variable in Golang 10-30 00:49:07.1236 that needs to be converted to a Go Protobuf timestamp.Timestamp. Any idea on what functions can be used to accomplish this? Or am I looking...
Indohittite asked 3/11, 2021 at 2:11

4

Solved

I'm trying to convert the UNIX epoc time to datetime format using the below code var epocTime = NSTimeInterval(1429162809359) let myDate = NSDate(timeIntervalSince1970: epocTime) println("Convert...
Risley asked 16/4, 2015 at 9:27

11

Solved

I realize that the current timestamp can be generated with the following... var timestamp = Math.round((new Date()).getTime() / 1000); What I'd like is the timestamp at the beginning of the curr...
Sporran asked 25/8, 2011 at 18:38

20

I have a string representing a unix timestamp (i.e. "1284101485") in Python, and I'd like to convert it to a readable date. When I use time.strftime, I get a TypeError: >>>import...
Manganous asked 10/9, 2010 at 6:56

7

I'm trying to get the unix time from a timestamp field in milliseconds (13 digits) but currently it returns in seconds (10 digits). scala> var df = Seq("2017-01-18 11:00:00.000", "2017-01-18 1...
Nonmaterial asked 14/2, 2017 at 23:10

5

Assume a given variable, it is containing a UNIX time-stamp, but whether it is in seconds or milliseconds format is unknown, I want to assign to a variable which is in seconds format For Example: u...
Gentleness asked 29/5, 2014 at 8:39

8

Trying to convert 1504865618099.00 Unix time into a readable date time. I tried this: =(UNIX + ("1/1/1970"-"1/1/1900"+1)*86400) / 86400 But it's not working.
Henequen asked 9/9, 2017 at 11:23

20

Solved

How can I convert UNIX timestamp (bigint) to DateTime in SQL Server?
Rouault asked 25/5, 2010 at 11:51

4

I have a column "date_time" in a BigQuery table which contains unix timestamp values like "1569888224". The problem is that these values are integer data types, not timestamp data types, so I do no...

12

Solved

I am parsing an SQLite database using the PowerShell SQLite module, and a couple of the return values are created and modified, both of which are in Unix time. What I would like to do is somehow c...
Conundrum asked 28/5, 2012 at 8:40

17

Solved

I have had look around stackoverflow, and even looked at some of the suggested questions and none seem to answer, how do you get a unix timestamp in C#?
Lead asked 13/7, 2013 at 17:33

3

Solved

How can I convert a ColdFusion date to Unix Timestamp? myDate = DateAdd("m", -1, Now()); I would like to convert myDate to unix timestamp using ColdFusion Thanks
Bonkers asked 19/8, 2019 at 17:42

2

I know this is a pretty common question, but I don't feel like the answers I found really solve the problem. I will outline my specific use case and present summaries to the information from other ...
Bonneau asked 21/3, 2013 at 17:47

6

Solved

I have list of week numbers extracted from huge log file, they were extracted using syntax: $ date --date="Wed Mar 20 10:19:56 2012" +%W; 12 I want to create a simple bash function which can con...
Acariasis asked 25/3, 2013 at 2:8

13

Solved

How can I convert normal date 2012.08.10 to unix timestamp in javascript? Fiddle: http://jsfiddle.net/J2pWj/ I've seen many posts here that convert it in PHP, Ruby, etc... But I need to do th...
Broucek asked 9/8, 2012 at 22:46

3

Solved

Does anyone know of a simple gmtime or ctime implementation without consideration for timezone, no external dependencies, and a non-copyleft license (BSD/MIT/anything proprietary-safe)? Preferably ...
Alcoholic asked 16/3, 2012 at 22:23

7

Solved

As the subject asks; do UNIX timestamps change in each timezone? For example, if I sent a request to another email the other side of the world saying, "Send out an email when the time is 139748493...
Norvol asked 14/4, 2014 at 14:17

6

Solved

I'm making a calendar generator in JavaScript. I need the Unix Timestamp for easter day midnight, for a given year. How can I do that (in JavaScript)? PHP's function can be found here.
Tallowy asked 16/8, 2009 at 13:41

6

For some reason when constructing datetimes using fromtimestamp, I get a "OSError [Errno22] Invalid Argument" when I use negative times less than -43200 (-12hrs). I am on Win7 64-bit an...
Actium asked 28/5, 2016 at 3:44

18

Solved

I need a shell command or script that converts a Unix timestamp to a date. The input can come either from the first parameter or from stdin, allowing for the following usage patterns: ts2date 1267...
Etruscan asked 3/3, 2010 at 12:41

5

Solved

I had at first misinterpreted the timestamp implementation of OAuth into thinking that it meant a timestamp that was not within 30 seconds past the current time would be denied, it turned out this ...
Hypnogenesis asked 28/7, 2011 at 21:8

3

I initially learned that Unix time is the number of seconds that have elapsed since 00:00:00 (UTC) on 1 January 1970. With 24 hours in a day, that means that the unix timestamp grows by 86400 every...
Hardtop asked 23/4, 2021 at 6:59

2

I have timestamps looking like this: 2015-03-21T11:08:14.859831 2015-03-21T11:07:22.956087 I read a Wiki article on ISO 8601, but did not get the meaning of the last 6 digits here. I tried ge...
Moody asked 17/7, 2015 at 13:45

4

Solved

How do I convert the following format to unix timestamp? Apr 15 2012 12:00AM The format I get from DB seems to have AM at the end. I've tried using the following but it did not work: CONVERT(D...
Surfeit asked 21/6, 2012 at 7:50

© 2022 - 2024 — McMap. All rights reserved.