Questions tagged [rfc3339]

A RFC entitled "Date and Time on the Internet: Timestamps"

See for more details on RFC

RFC 3339 was released in July 2002.

RFC 3339 is a simplification of which excludes durations, week numbers and ordinal days.

Resources:

100 questions
0
votes
1 answer

Convert UTC RFC3339 Timestamp to Local Time with the time crate

I've been banging my head against the time crate for the last two days. I can't find, where in their documentation how to take a RFC3339 UTC 2022-12-28T02:11:46Z timestamp and convert that to local time for America/New_York (2022-12-27T21:11:46). I…
Mark Tomlin
  • 8,593
  • 11
  • 57
  • 72
0
votes
1 answer

What is convenient way of parsing rfc3339 in python?

I found several ways of doing it and found a lot of answers/articles and all of them offer different ways: a) Using dateutil.parser.isoparse. This package is mentioned in datetime documentation as package for parsing ISO 8601 format and I guess, it…
mouse_00
  • 593
  • 3
  • 13
0
votes
1 answer

How to write timestamp into PostgreSQL using Apache Beam

What is the proper way to write TIMESTAMP into PostgreSQL using Apache Beam (Direct Runner)? I couldn't find this documented anywhere. I tried formatting date into rfc3339 string as below and writing using Python SDK apache_beam.io.jdbc.WriteToJdbc…
LordBertson
  • 398
  • 4
  • 11
0
votes
2 answers

Parse RFC3339 Date String 'ss.SSSXX' with BeanIO

I'm trying to parse a String Date like this: 2021-03-19T13:08:32.58600 with BeanIO in my template: And I'm getting Invalid date error. I test some cases with…
Guilherme Bernardi
  • 490
  • 1
  • 6
  • 18
0
votes
1 answer

Google Calendar API events list time zone issue

Since mid of last week I witnessed increasing issues with the events list query params for upper and lower bounds. Since the weekend it is no longer working at all. Issue summary: Positive timezone offsets no longer accepted in events list query…
BB-5000
  • 3
  • 1
0
votes
1 answer

Convert zoned timestamp to com.google.protobuf.Timestamp

In my custom API that I am creating using Swagger, I need to input a timestamp. In my YAML file I have defined the format of my input parameter as date-time as mentioned on the Swagger webpage date-time – the date-time notation as defined by RFC…
moirK
  • 651
  • 3
  • 11
  • 34
0
votes
1 answer

What is the difference between the two time formats?

My goal is to use a single string time format (UTC). I start with two string timestamps: tf1 = '2020-07-11T17:25:48.675541+0000' tf2 = '2020-07-11T17:25:49.125175Z' RFC3339_FORMAT = '%Y-%m-%dT%H:%M:%S.%f%z' When I assert if they both are in…
Newskooler
  • 3,973
  • 7
  • 46
  • 84
0
votes
1 answer

How to print epoch-formatted InfluxDB timestamps in RFC3339 format

I want to read my InfluxDB measurements in RFC3339 formatting via the CLI for debugging purposes, but since there is already an API that handles read/write operations, I don't want to mess with the actual format they are stored (Unix epoch…
Yiorgos
  • 111
  • 8
0
votes
1 answer

How to use jackson to parse RFC3339 timestamp with variable number of second fractions

I'm trying to parse timestamps in the RFC3339 format in a JSON-string using Jackson. How do I allow for the variable amount of decimal places after the seconds? For the JSON file { "timestamp": "2019-07-02T13:00:34.836+02:00" } I've…
Froff
  • 43
  • 1
  • 7
0
votes
1 answer

Can a golang RFC3339Nano timestamp be reliably converted to and from a Unix timestamp?

In my golang application I'm using a Unix second-resolution timestamp (generated with time.Now().UTC().Unix()) as part of a salt in the hash function used for request authentication. There's a desire to store this timestamp in a datastore, where the…
Techrocket9
  • 2,026
  • 3
  • 22
  • 33
0
votes
0 answers

Changing time format to rfc3339 in ruby on rails for google calendar api

This snap is from the terminal where it shows the parameters I get from post request, I am creating sessions and then adding them to google calendar, I am not sure how to set up these date and time params in rfc3339 format or any other…
arslan
  • 61
  • 5
0
votes
0 answers

timezone format err in google calendar API

input = append(input, strings.TrimSpace(sessions[uuid]["nameStage"].(string))) input = append(input, strings.TrimSpace(sessions[uuid]["startDateStage"].(string))+"T"+strings.TrimSpace(sessions[uuid]["startTimeStage"].(string))+"+02:00") input =…
0
votes
1 answer

PHP date format vs Symfony RFC 3339 format

As per http://php.net/manual/en/class.datetime.php PHP follows "ATOM" date format. To produce a date like "2017-11-14" we need date format string "Y-m-d". I am able to produce it using php date function and class. It works as expected. /////Using…
hanish singla
  • 782
  • 8
  • 21
0
votes
1 answer

Python-Saml unable to Parse time - What time format is this?

I'm working with python-saml and Azure AD B2C SAML-RP (experimental) and the assertion from Azure is throwing python-saml an error. Is the formatting from Azure off? time data '2017-06-28T02:19:59.1690618Z' does not match format…
Montel Edwards
  • 400
  • 5
  • 14
0
votes
1 answer

Converting time-stamp to milliseconds in javascript

I have a date which is of format 20170622T164322Z. How to convert it into milliseconds(epoch time) in javascript. I am new to javascript, kindly help
Virat
  • 551
  • 4
  • 9
  • 23