iso8601 Questions

2

Solved

I am getting this message: Invalid datetime "2017-11-07T19:46:57.118Z", expected format Y-m-d\\TH:i:sP. When using JMS Serializer and the config: jms_serializer: handlers: datetime: default_...
Naphthalene asked 7/11, 2017 at 14:50

12

Solved

It's easy enough to get the ISO 8601 date string (for example, 2004-02-12T15:19:21+00:00) in PHP via date('c'), but how does one get it in Objective-C (iPhone)? Is there a similarly short way to do...
Patmos asked 27/4, 2013 at 16:45

2

Is it possible to use date-time fields such as "2019-08-24T14:15:22.000Z" in Avro? The docs says that one needs to use type int/long with logical type for dates/timestamps. But in this ca...
Lederer asked 19/11, 2021 at 13:20

4

Solved

I have a date string and I want to parse it to normal date use the java Date API,the following is my code: public static void main(String[] args) { String date="2010-10-02T12:23:23Z"; String pat...
Riordan asked 8/4, 2010 at 2:0

3

Solved

How would you convert a timestamp to an ISO 8601 format (such as 2009-01-28T21:49:59.000Z) in Lua? I'm specifically trying to do it by using the HttpLuaModule in Nginx.
Colliery asked 21/11, 2013 at 21:7

13

Solved

Why python 2.7 doesn't include Z character (Zulu or zero offset) at the end of UTC datetime object's isoformat string unlike JavaScript? >>> datetime.datetime.utcnow().isoformat() '2013-10...
Drinker asked 29/10, 2013 at 9:42

4

I want the system date to be converted to ISO 8601 format. code: my $now = time(); my $tz = strftime("%z", localtime($now)); $tz =~ s/(\d{2})(\d{2})/$1:$2/; print "Time zone *******-> \"$tz\"\n...
Ellsworth asked 3/6, 2014 at 7:47

2

Solved

Does anybody know the formal name of the YYYY-MM-DD HH:MM:SS date format used by a MySQL DATETIME? Is there one? It looks close to ISO 8601, but it's different enough to break in most applications ...
Woo asked 6/12, 2012 at 14:56

3

Solved

I have a SystemTime variable and I want to get the ISO 8601 format from that date.
Hanley asked 30/9, 2020 at 22:0

4

Solved

In VBScript, does FormatDateTime have ISO 8601 support? If not, how would I write such function with it? For example: Response.Write FormatAsISO8601(#05/04/2011#) Function FormatAsISO8601(date...
Koniology asked 1/8, 2011 at 14:39

6

Solved

How do you validate ISO 8601 date string (ex: 2011-10-02T23:25:42Z). I know that there are several possible representations of ISO 8601 dates, but I'm only interested in validating the format I gav...
Janniejanos asked 3/11, 2011 at 23:57

2

Solved

I use actually JQ1.5 under a Windows 10 environment to transform several json files for an import to a MS SQL database. Part of the data are formatted in UNIX timestamp and I need to transform thos...
Tham asked 12/6, 2017 at 10:47

2

Solved

I have two related questions. Assume a program running in (British Standard Time)BST generates a date time value for current time in UTC (YYYY-MM-DDTHH:MM:SS.SSSZ) format. Also assume current time ...
Natatory asked 2/6, 2016 at 10:48

1

Solved

Quote from MDN: The toISOString() method returns a string in simplified extended ISO format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss...
Astrogate asked 25/2, 2021 at 12:46

6

Solved

I'm trying to format a Postgres date representation into a ISO 8601 string. I'm assuming that there is a Postgres function that can do it, but I found the documentation short on examples. My quer...
Eyelash asked 8/8, 2016 at 16:14

3

I've searched high and low and can't seem to find a straight answer on this. Basically, I'm calling the YouTube API and getting a JSON document back, then parsing it. Everything else is good, but I...
Browder asked 8/10, 2014 at 16:40

3

Solved

Any suggestions on how to convert the ISO 8601 duration format PnYnMnDTnHnMnS (ex: P1W, P5D, P3D) to number of days? I'm trying to set the text of a button in a way that the days of free trial are...
Ultranationalism asked 14/1, 2019 at 18:59

4

Solved

What mode for MySQL's WEEK() function yields the ISO 8601 week of the year? Argument 2 of WEEK() sets the mode according to this chart: +-----------------------------------------------------------...
Columelliform asked 3/8, 2012 at 3:33

3

Solved

ISO 8601 recommends the following format for a date and time: 2014-12-29T16:11:20+00:00 I'm rather fond of this format since it allows for lexical ordering. But there is a small problem: some fi...
Gerger asked 31/12, 2014 at 19:14

6

Solved

Here is a standard way to serialise date as ISO 8601 string in JavaScript: var now = new Date(); console.log( now.toISOString() ); // outputs '2015-12-02T21:45:22.279Z' I need just the sa...
Azerbaijani asked 2/12, 2015 at 21:49

2

Solved

I have a ISO-8601 date in VARCHAR2 type, how can i convert that String date to timestamp in oracle db? Date Example: "2014-09-12T11:53:06+00:00" Maybe is something like the following but i not su...
Dann asked 31/10, 2014 at 9:43

2

Solved

Using Postman and the following code in pre-query script const moment = require('moment'); pm.globals.set("timestamp", moment().format("YYYY-MM-DDTHH:MM:SSZ")); I get as a response Request si...
Complacency asked 30/11, 2019 at 10:44

3

Solved

I'm a little bit frustrated of java 8 date format/parse functionality. I was trying to find Jackson configuration and DateTimeFormatter to parse "2018-02-13T10:20:12.120+0000" string to any Java 8 ...
Terrify asked 12/4, 2017 at 5:18

3

Solved

I am trying to use the Duration class instead of long. It has superior literal syntax. I like its flexibility, though it looks weird. "PT10S" means 10 seconds, what is the problem to accept "10 s...
Elecampane asked 4/7, 2018 at 7:23

3

In dart I want to do this: var s = "2018-11-23T04:25:41.9241411Z"; // string comes from a json but represented here for simplicity like this var d = DateTime.parse(s); but it throws a null. Dar...
Golding asked 23/11, 2018 at 4:50

© 2022 - 2024 — McMap. All rights reserved.