rfc3339 Questions

13

Solved

I want to output a timestamp with a PST offset (e.g., 2008-11-13T13:23:30-08:00). java.util.SimpleDateFormat does not seem to output timezone offsets in the hour:minute format, it excludes the colo...
Triptolemus asked 14/11, 2008 at 5:26

14

Solved

How to generate a date time stamp, using the format standards for ISO 8601 and RFC 3339? The goal is a string that looks like this: "2015-01-01T00:00:00.000Z" Format: year, month, day, ...
Telegraphic asked 19/1, 2015 at 0:58

2

Solved

My goal is to (de)serialize objects with RFC-3339 timestamps from Json to Rust structs (and vice versa) using serde and time-rs. I would expect this ... use serde::Deserialize; use time::{OffsetDat...
Chortle asked 12/7, 2022 at 19:45

28

I need to parse RFC 3339 strings like "2008-09-03T20:56:35.450686Z" into Python's datetime type. I have found strptime in the Python standard library, but it is not very convenient. What ...
Dynamite asked 24/9, 2008 at 15:17

2

Solved

I am trying to generate RFC 3339 compliant date strings (ie. '2008-03-19T00:00:00.0000000-04:00') however I seem to be having an issue with the offset being invalid. I am using the following: priv...
Instrumentality asked 16/2, 2011 at 14:42

8

Solved

How do I convert a DateTime structure to its equivalent RFC 3339 formatted string representation and/or parse this string representation back to a DateTime structure? The RFC-3339 date-time format ...
Lophobranch asked 19/8, 2008 at 21:40

9

Solved

I'm trying to parse the date returned as a value from the HTML5 datetime input field. Try it in Opera to see an example. The date returned looks like this: 2011-05-03T11:58:01Z. I'd like to parse ...
Eschar asked 17/5, 2011 at 23:2

2

Solved

In Holland we mostly use YYYY-MM-DD HH:MM:SS. How can I format that in Go? Everything I insert (even according the standard) gives weird numbers. This is my code (p.Created is a NanoSeconds int64 ...
Cuba asked 8/2, 2014 at 16:50

7

Solved

I have to convert a timezone-aware string like "2012-11-01T04:16:13-04:00" to a Python datetime object. I saw the dateutil module which has a parse function, but I don't really want to use it as i...
Vibraphone asked 1/11, 2012 at 17:7

8

Solved

I am in the process of building an app that syncs with Google Tasks. As part part of the syncing, I want to compare the local task and the API task, and see which one has been changed more recently...
Interoffice asked 30/8, 2011 at 13:48

15

Solved

Is there an easy way to convert an RFC 3339 time into a regular Python timestamp? I've got a script which is reading an ATOM feed and I'd like to be able to compare the timestamp of an item in the...
Instigate asked 21/12, 2009 at 19:0

7

I'm trying to generate an RFC 3339 UTC timestamp in Python. So far I've been able to do the following: >>> d = datetime.datetime.now() >>> print d.isoformat('T') 2011-12-18T...
Osmunda asked 19/12, 2011 at 1:57

7

I have a JS date that is being converted by Dojo into RFC822 format. The function call - dojo.date.toRfc3339(jsDate), generates the following date - 2007-02-26T20:15:00+02:00. I have an applicatio...
Donatist asked 12/5, 2010 at 23:15

1

I'm creating an RFC3339 timestamp, including milliseconds and in UTC, in C++ using std::chrono like so: #include <chrono> #include <ctime> #include <iomanip> using namespace std;...
Atropos asked 23/1, 2019 at 10:30

4

Solved

I am trying to convert time-stamps of the format "2012-07-24T23:14:29-07:00" to datetime objects in python using strptime method. The problem is with the time offset at the end(-07:00). Without th...
Transaction asked 5/9, 2012 at 12:57

1

This seems to be a common question with many different answers. Before you answer, I have used both joda-time and atomdate and they work great. My interest here is not what library to use but inste...
Sapota asked 1/11, 2016 at 21:57

2

How do I parse a RFC3339 timestamp ("1985-04-12T23:20:50.52Z") (i.e. a subset of ISO8601) in C++03? I'm using Boost, but none of the Boost datetime libraries seem to include a function to...
Beckman asked 30/6, 2017 at 9:42

2

Solved

I'm trying to format a date passed from a google plus Api thats like the guide says in RFC 3339 format: PUBLISHED-> datetime-> The time at which this activity was initially published. Formatted ...
Footboard asked 27/1, 2014 at 14:13

2

Solved

Background I am learning Go and I'm trying to do some JSON unmarshaling of a datetime. I have some JSON produced by a program I wrote in C, I am outputting what I thought was a valid ISO8601 / RFC3...
Nephritis asked 27/8, 2016 at 10:9

3

I am trying to convert the timestamp 1452454659 to its rfc3339 equivalent. I am getting the output as: 2016-01-11T01:07:39+05:30 When I pass this to influxdb it returns a time of: 2016-...
Swansdown asked 10/1, 2016 at 9:27

3

Solved

I am trying to add two times together. The ISO 8601 time stamp is '1984-06-02T19:05:00.000Z', and I would like to convert it to seconds. I tried using the Python module iso8601, but it is only...
Rosenthal asked 2/12, 2014 at 9:3

1

Solved

I have this timestamp value being return by a web service "2014-09-12T19:34:29Z" I know that it means timezone, but what exactly does it mean? And I am trying to mock this web service, so is the...
Foretopsail asked 26/3, 2015 at 15:6

2

Solved

So in Python 3, you can generate an ISO 8601 date with .isoformat(), but you can't convert a string created by isoformat() back into a datetime object because Python's own datetime directives...
Piotr asked 4/2, 2015 at 21:10

2

I am trying to convert ISO to datetime using the code below: dt = datetime.datetime.strptime("2013-07-23T15:10:59.342107+01:00", "%Y-%m-%dT%H:%M:%S.%f%z") and I'm getting the error below:...
Lethbridge asked 25/11, 2013 at 13:36

3

I have a datasets where all the dates have the following format: 2012-10-09T19:00:55Z I'd like to be able to be able to use methods like .weekday on them. How do I convert them to the prop...
Overdose asked 24/4, 2014 at 18:46

© 2022 - 2024 — McMap. All rights reserved.